[LANG-775] add failing test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1203427 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d487814aba
commit
e6a1d017b1
|
@ -500,6 +500,11 @@ public class TypeUtilsTest<B> {
|
|||
Assert.assertTrue(typeVarAssigns.size() == 2);
|
||||
Assert.assertEquals(String.class, typeVarAssigns.get(AAClass.class.getTypeParameters()[0]));
|
||||
Assert.assertEquals(String.class, typeVarAssigns.get(AAClass.BBClass.class.getTypeParameters()[0]));
|
||||
|
||||
typeVarAssigns = TypeUtils.getTypeArguments(Other.class, This.class);
|
||||
Assert.assertEquals(2, typeVarAssigns.size());
|
||||
Assert.assertEquals(String.class, typeVarAssigns.get(This.class.getTypeParameters()[0]));
|
||||
Assert.assertEquals(Other.class.getTypeParameters()[0], typeVarAssigns.get(This.class.getTypeParameters()[1]));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue