rders
    </p>
    <pre><code>
allOrders shouldBe emittedEvents.map(toOrder).toSet
    </code></pre>
    <h3>Create Order on one node, add item on the other</h3>
    <p>
        The second test creates the order only on node A
    </p>
    <pre><code>
runOn(config.nodeA)(executeCommand(CreateOrder(newOrderId)))
    </code></pre>
    <p>
        waits for the order to be created (on each node)
    </p>
    <pre><code>
val OrderCreated(orderId, _) = waitFor(orderCreated)
    </code></pre>
    <p>
        and 