public function invalidCondition($key) { $this->setExpectedException('Exception', 'Invalid condition'); $this->conditionalValueStage->isTrue($key); }