/**
  * Test get/add/remove availableLocales property
  *
  * TODO : Add more tests
  */
 public function testGetAddRemoveAvailableLocales()
 {
     $this->assertNull($this->attribute->getAvailableLocales());
     // Change value and assert new
     $newLocale = new Locale();
     $this->attribute->addAvailableLocale($newLocale);
     $this->assertInstanceOf('Pim\\Bundle\\CatalogBundle\\Entity\\Locale', $this->attribute->getAvailableLocales()->first());
     $this->assertCount(1, $this->attribute->getAvailableLocales());
     $this->attribute->removeAvailableLocale($newLocale);
     $this->assertNull($this->attribute->getAvailableLocales());
 }