@Test
public void shouldReturnFalseIfNoDirectAnnotation() throws Exception {

    final SynchronousCommandHandler handler = new SynchronousCommandHandler();
    assertThat(new HandlerMethod(new SynchronousCommandHandler(), method(handler, "handles"), JsonEnvelope.class).isDirect(), is(false));
}