    @Test
    public void getByUUID() {

        String uuid = "123";
        Mockito.when(eventSourcingService.getAggregate(Mockito.anyString()))
                .thenReturn(new EventStream());
        EmailAggregate byUUID = commandHandler.getByUUID(uuid);
        Assert.assertTrue(byUUID.getState().getEmail() == null);
    }