.expectEvents(new ToDoItemCreatedEvent("todo1", "Need to implement the aggregate"));
}
@Test
public void testMarkToDoItemAsCompleted() throws Exception {
fixture.given(new ToDoItemCreatedEvent("todo1", "Need to implement the aggregate"))
.when(new MarkCompletedCommand("todo1"))
.expectEvents(new ToDoItemCompletedEvent("todo1"));
}