  @Test
  public void execute() {

    when(registry.get(HelloCommand.class)).thenReturn(handler);

    HelloCommand command = new HelloCommand("joe");
    commandBus.execute(command);

    verify(handler).handle(command);
  }