/** * @covers \examples\statemachines\PwrCall\PwrCall::userRegFailed * @covers \examples\statemachines\PwrCall\AbstractPwrCallState::userRegFailed * @expectedException \examples\statemachines\PwrCall\IllegalStateTransitionException */ public function testCannotUserRegFailed() { $this->pwrcall->userRegFailed(); }
/** * @covers \examples\statemachines\PwrCall\PwrCall::userRegFailed * @covers \examples\statemachines\PwrCall\WaitForUserRegState::userRegFailed * @uses \examples\statemachines\PwrCall\PwrCall::isUserRegFailState */ public function testCanUserRegFailed() { $this->pwrcall->userRegFailed(); $this->assertTrue($this->pwrcall->isUserRegFailState()); }