/** * @covers \examples\statemachines\PwrCall\PwrCall::showCall * @covers \examples\statemachines\PwrCall\AbstractPwrCallState::showCall * @expectedException \examples\statemachines\PwrCall\IllegalStateTransitionException */ public function testCannotShowCall() { $this->pwrcall->showCall(); }
/** * @covers \examples\statemachines\PwrCall\PwrCall::showCall * @covers \examples\statemachines\PwrCall\NextCallState::showCall * @uses \examples\statemachines\PwrCall\PwrCall::isInCallState */ public function testCanShowCall() { $this->pwrcall->showCall(); $this->assertTrue($this->pwrcall->isInCallState()); }