Example #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;
 }
Example #2
0
 public function tearDown()
 {
     parent::tearDown();
     $this->default = null;
 }
Example #3
0
 protected function getSut(array $attributes = [])
 {
     $sut = parent::getSut();
     $sut->setAll($attributes);
     return $sut;
 }