Dumplie\CustomerService\Tests\Integration\Application\Generic\OrderTestCase::test_accept_order PHP Method

test_accept_order() public method

public test_accept_order ( )
    function test_accept_order()
    {
        $orderId = (string) Uuid::uuid4();
        $this->customerServiceContext->customerPlacedOrder($orderId);
        $acceptCommand = new AcceptOrder($orderId);
        $this->customerServiceContext->commandBus()->handle($acceptCommand);
    }