/** * @covers \examples\statemachines\PwrCall\PwrCall::isInCallState */ public function testIsNotInCallState() { $this->assertFalse($this->pwrcall->isInCallState()); }
/** * @covers \examples\statemachines\PwrCall\PwrCall::redialCustomer * @covers \examples\statemachines\PwrCall\CustCallHangupState::redialCustomer * @uses \examples\statemachines\PwrCall\PwrCall::isInCallState */ public function testCanRedialCustomer() { $this->pwrcall->redialCustomer(); $this->assertTrue($this->pwrcall->isInCallState()); }
/** * @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()); }
/** * @covers \examples\statemachines\PwrCall\PwrCall::isInCallState */ public function testIsInCallState() { $this->assertTrue($this->pwrcall->isInCallState()); }