/** * @test * @dataProvider contextProvider */ public function it_is_not_active_for_every_context_if_inactivated($context) { $conditions = array(new OperatorCondition('age', new GreaterThan(42))); $toggle = new Toggle('some-feature', $conditions); $toggle->deactivate(); $this->assertFalse($toggle->activeFor($context)); }