/** * @test */ public function multipleFeatures_OneEnabled() { $feature = new Feature('test'); $feature->addSwitcher(Simple::off()); $feature->addSwitcher(Simple::on()); $this->assertTrue($feature->isEnabled()); }
/** * @test */ public function staticHelperDisabled() { $this->assertEquals(new Simple(), Simple::off()); }