252627282930313233
CreateOrderEvent ev = new CreateOrderEvent(new OrderDetails()); orderService.createOrder(ev); AllOrdersEvent allOrders = orderService.requestAllOrders(new RequestAllOrdersEvent()); assertEquals(1, allOrders.getOrdersDetails().size()); }
293031323334353637