Spec\Dumplie\CustomerService\Domain\PaymentSpec::it_can_not_be_paid_when_rejected PHP Метод

it_can_not_be_paid_when_rejected() публичный Метод

    function it_can_not_be_paid_when_rejected()
    {
        $this->reject();
        $this->shouldThrow(InvalidTransitionException::class)->during('pay');
    }