/** * @covers \examples\statemachines\PwrCall\PwrCall::userParked * @covers \examples\statemachines\PwrCall\AbstractPwrCallState::userParked * @expectedException \examples\statemachines\PwrCall\IllegalStateTransitionException */ public function testCannotUserParked() { $this->pwrcall->userParked(); }
/** * @covers \examples\statemachines\PwrCall\PwrCall::userParked * @covers \examples\statemachines\PwrCall\WaitForUserParkedState::userParked * @uses \examples\statemachines\PwrCall\PwrCall::isUserParkedState */ public function testCanUserParked() { $this->pwrcall->userParked(); $this->assertTrue($this->pwrcall->isUserParkedState()); }