/**
  * Test getter/setter for locale property
  */
 public function testGetSetLocale()
 {
     $this->assertNull($this->completeness->getLocale());
     $expectedLocale = $this->createLocale('en_US');
     $this->assertEntity($this->completeness->setLocale($expectedLocale));
     $this->assertEquals($expectedLocale, $this->completeness->getLocale());
 }
 /**
  * {@inheritDoc}
  */
 public function setLocale(\Pim\Bundle\CatalogBundle\Model\LocaleInterface $locale)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLocale', array($locale));
     return parent::setLocale($locale);
 }