/** * @covers \examples\statemachines\PwrCall\PwrCall::isNextCallState */ public function testIsNotNextCallState() { $this->assertFalse($this->pwrcall->isNextCallState()); }
/** * @covers \examples\statemachines\PwrCall\PwrCall::startCalling * @covers \examples\statemachines\PwrCall\UserParkedState::startCalling * @uses \examples\statemachines\PwrCall\PwrCall::isNextCallState */ public function testCanStartCalling() { $this->pwrcall->startCalling(); $this->assertTrue($this->pwrcall->isNextCallState()); }
/** * @covers \examples\statemachines\PwrCall\PwrCall::goNextCall * @covers \examples\statemachines\PwrCall\CustCallHangupState::goNextCall * @uses \examples\statemachines\PwrCall\PwrCall::isNextCallState */ public function testCanGoNextCall() { $this->pwrcall->goNextCall(); $this->assertTrue($this->pwrcall->isNextCallState()); }