getHandlerService().activateHandler(command.getId(), createHandler());
getHandlerService().executeCommand(command.getId(), null);
long end = System.currentTimeMillis();
assertEquals(1, tracker.getData().size());
CommandEvent e = tracker.getData().iterator().next();
assertEquals(command, e.getExecutionEvent().getCommand());
assertTrue(start <= e.getTime().getMillis());
assertTrue(end >= e.getTime().getMillis());
}