customerCreatedEventHandler.handleMessage(new CustomerCreatedEvent(WhenCustomerIsCreated.CUSTOMER_ID, WhenCustomerIsCreated.CUSTOMER_INFO));
customerBalanceChangedEventHandler.handleMessage(new CustomerBalanceChangedEvent(WhenCustomerIsCreated.CUSTOMER_ID, 0.0, 50.0, 50.0));
List<CustomerAccountQueryResult> customers = lotteryQueryService.findCustomers();
assertEquals(1, customers.size());
CustomerAccountQueryResult customer = customers.get(0);
assertEquals(WhenCustomerIsCreated.CUSTOMER_ID, customer.getCustomerId());
assertEquals(WhenCustomerIsCreated.CUSTOMER_INFO.getName(), customer.getCustomerName());
assertEquals(50.0, customer.getCurrentBalance(), 0.0);
}