### Question:
WrappedDeclaredType extends WrappedTypeMirror { @Override public boolean isAssignableTo(String typeName) { TypeMirror type = typeOf(typeName); return isAssignableTo(type); } WrappedDeclaredType(DeclaredType type, Types types, Elements elements); @Override String className(); String binaryName(); @Override boolean isBoolean(); @Override boolean isDeclaredType(); List<? extends TypeMirror> getTypeArguments(); @Override boolean isOfType(Class<?> type); @Override boolean isAssignableTo(String typeName);  }### Answer:
@Test public void shouldAssignableToSelfAndParent() { assertThat(type.isAssignableTo(GenericClass.class), equalTo(true)); assertThat(type.isAssignableTo(ParentClass.class), equalTo(true)); }