@Test
public void testGetMultipleGenericTypeTokens() {

    TypeToken source = new TypeToken<Map<String, Integer>>() {};
    List<TypeToken<?>> typeTokens = TypeTokenUtils.extractGenericTypeTokens(source);
    assertEquals(typeTokens.size(), 2);
    assertEquals(typeTokens.get(0), TypeToken.of(String.class));
    assertEquals(typeTokens.get(1), TypeToken.of(Integer.class));
}