@Test
public void testFailingWildcard() throws Exception {

    final Type fromType = ClassWithSuperClassWithGenericType.class.getDeclaredMethod("methodWithGenericReturnType")
            .getGenericReturnType();
    final WildcardType failingToType = new WildcardTypeImpl(null, new Type[] { ClassWithSuperClassWithGenericType.class });
    assertTrue(TypeUtils.isAssignable(fromType, failingToType));
}