DeserializesHandler implements StereotypeHandler { public Class<? extends Annotation> stereotype() { return Deserializes.class; } DeserializesHandler(Deserializers deserializers); @SuppressWarnings("unchecked") void handle(Class<?> type); Class<? extends Annotation> stereotype();  }
@Test public void shouldAcceptDeserializesAnnotation() throws Exception { assertEquals(handler.stereotype(), Deserializes.class); }