  @Test
  public void testGenerateFor_drawableHandlerAnnotationSupplied() {

    final Element element = avatarRule.getElementWithUniqueId("drawable");
    final AnnotationMirror mirror = AnnotationMirrorHelper.getAnnotationMirror(element, DrawableHandler.class);
    
    final MethodSpec generatedMethod = generator.generateFor(mirror);
    
    checkSignature(generatedMethod, ClassName.get(Drawable.class));
    checkCompiles(generatedMethod);
  }