public function testInheritance() { $this->assertInstanceOf(AbstractType::class, $this->resourceType); $this->assertSame(ResourceType::class, $this->resourceType->getParent()); }
/** * @param ResourceInterface $resource * @param FactoryInterface $factory * @param LocaleProviderInterface $localeProvider */ public function __construct(ResourceInterface $resource, FactoryInterface $factory, LocaleProviderInterface $localeProvider) { parent::__construct($resource, $factory); $this->localeProvider = $localeProvider; }