@Test
public void testAddTypeParameter() {

    InnerClass clazz = new InnerClass("com.foo.UserClass");
    assertEquals(0, clazz.getTypeParameters().size());
    clazz.addTypeParameter(new TypeParameter("T"));
    assertEquals(1, clazz.getTypeParameters().size());
    clazz.addTypeParameter(new TypeParameter("U"));
    assertEquals(2, clazz.getTypeParameters().size());
}