/** * @covers \examples\statemachines\PwrCall\PwrCall::isWaitForUserParkedState */ public function testIsNotWaitForUserParkedState() { $this->assertFalse($this->pwrcall->isWaitForUserParkedState()); }
/** * @covers \examples\statemachines\PwrCall\PwrCall::userRegistered * @covers \examples\statemachines\PwrCall\WaitForUserRegState::userRegistered * @uses \examples\statemachines\PwrCall\PwrCall::isWaitForUserParkedState */ public function testCanUserRegistered() { $this->pwrcall->userRegistered(); $this->assertTrue($this->pwrcall->isWaitForUserParkedState()); }