@Test
public void testFixture_DispatchMetaDataInCommand() throws Throwable {
List<?> givenEvents = Arrays.asList(new MyEvent("aggregateId", 1), new MyEvent("aggregateId", 2),
new MyEvent("aggregateId", 3));
CommandHandler mockCommandHandler = mock(CommandHandler.class);
fixture.registerCommandHandler(StrangeCommand.class, mockCommandHandler);
fixture
.given(givenEvents)
.when(new StrangeCommand("aggregateId"), Collections.singletonMap("meta", "value"));