/** * @expectedException RuntimeException * @expectedExceptionMessage Cannot nest ifTrue or ifFalse call */ public function testIfFalseCombinationNested4() { $this->showMapper->ifTrue(false); $this->showMapper->ifFalse(true); }