コード例 #1
0
 /**
  * @test
  */
 public function multipleFeatures_OneEnabled()
 {
     $feature = new Feature('test');
     $feature->addSwitcher(Simple::off());
     $feature->addSwitcher(Simple::on());
     $this->assertTrue($feature->isEnabled());
 }
コード例 #2
0
 /**
  * @test
  */
 public function staticHelperDisabled()
 {
     $this->assertEquals(new Simple(), Simple::off());
 }