Dumplie\CustomerService\Tests\Integration\Application\Generic\OrderTestCase::test_reject_order PHP Метод

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

public test_reject_order ( )
    function test_reject_order()
    {
        $orderId = (string) Uuid::uuid4();
        $this->customerServiceContext->customerPlacedOrder($orderId);
        $rejectCommand = new RejectOrder($orderId);
        $this->customerServiceContext->commandBus()->handle($rejectCommand);
    }