  @Test
  public void testGetCollectionType() throws SecurityException, NoSuchFieldException {

    assertEquals(Object.class, getCollectionType(Collection.class));
    assertEquals(Number.class, getCollectionType(tListN));
    assertEquals(Number.class, expandType(getCollectionType(tListE), ParametrizedClass.class));
    assertEquals(Object.class, expandType(getCollectionType(tListF), ParametrizedClass.class));
    assertEquals(Object.class, expandType(getCollectionType(tListI), ParametrizedClass.class));
    assertEquals(Number.class, expandType(getCollectionType(tListIEN), ParametrizedClass.class));
    ParameterizedType colType = (ParameterizedType) expandType(getCollectionType(tListCN), ParametrizedClass.class);
    assertEquals(Collection.class, colType.getRawType());
  }