/**
  * @return array
  */
 protected function getExtensions()
 {
     $websiteCollection = new WebsiteCollectionType($this->registry);
     $websiteCollection->setWebsiteClass(self::WEBSITE_CLASS);
     /** @var \PHPUnit_Framework_MockObject_MockObject|TranslatorInterface $translator */
     $translator = $this->getMock('Symfony\\Component\\Translation\\TranslatorInterface');
     return [new PreloadedExtension([FallbackPropertyType::NAME => new FallbackPropertyType($translator), FallbackValueType::NAME => new FallbackValueType(), WebsiteCollectionType::NAME => $websiteCollection, CheckboxTypeStub::NAME => new CheckboxTypeStub()], [])];
 }
 /**
  * @return array
  */
 protected function getExtensions()
 {
     $websiteCollection = new WebsiteCollectionType($this->registry);
     $websiteCollection->setWebsiteClass(self::WEBSITE_CLASS);
     return [new PreloadedExtension([FallbackPropertyType::NAME => new FallbackPropertyType(), FallbackValueType::NAME => new FallbackValueType(), WebsiteCollectionType::NAME => $websiteCollection, CheckboxTypeStub::NAME => new CheckboxTypeStub()], [])];
 }