Пример #1
0
 /**
  * @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;
 }
Пример #2
0
 protected function getSut(array $attributes = [])
 {
     $sut = parent::getSut();
     $sut->setAll($attributes);
     return $sut;
 }