@Test
public void shouldReturnTrueIfDirectAnnotationPresent() throws Exception {

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