/** * @covers \examples\statemachines\PwrCall\PwrCall::isCustCallHangupState */ public function testIsNotCustCallHangupState() { $this->assertFalse($this->pwrcall->isCustCallHangupState()); }
/** * @covers \examples\statemachines\PwrCall\PwrCall::customerHangup * @covers \examples\statemachines\PwrCall\InCallState::customerHangup * @uses \examples\statemachines\PwrCall\PwrCall::isCustCallHangupState */ public function testCanCustomerHangup() { $this->pwrcall->customerHangup(); $this->assertTrue($this->pwrcall->isCustCallHangupState()); }