/** * @param boolean|null $status * @param ProviderInterface $provider * @return FeatureInterface */ protected function getDefaultSut($status, ProviderInterface $provider) { /** @var FeatureInterface $feature */ $feature = parent::getSut('foo', $status, $provider); $feature->configure($this->getDefaultConfiguration($status)); $feature->context($this->getDefaultContext()); return $feature; }
protected function getSut(array $attributes = []) { $sut = parent::getSut(); $sut->setAll($attributes); return $sut; }