@Test
public void getTypedClassOrInterfaceType() {

    String className = "CLASS_NAME";
    List<String> typesName = Arrays.asList("TypeA", "TypeB");
    ClassOrInterfaceType retrieved = CommonCodegenUtils.getTypedClassOrInterfaceType(className, typesName);
    assertNotNull(retrieved);
    String expected = String.format("%1$s<%2$s,%3$s>", className, typesName.get(0), typesName.get(1));
    assertEquals(expected, retrieved.asString());
}