@Test
public void commandHandlerOperationCollected() throws Throwable {
new TestCommandHandler().handle(
new GenericCommandMessage<CommandHandlerOperationCollectionAspectTest.TestCommand>(
new TestCommand(), Collections.singletonMap("someKey", (Object) "someValue")),
new DefaultUnitOfWork());
Operation op = getLastEntered();
assertEquals("org.axonframework.insight.plugin.axon.CommandHandlerOperationCollectionAspectTest$TestCommand", op.get("commandType"));
assertEquals("handle", op.getSourceCodeLocation().getMethodName());