@Test
public void testGenericTypeWithWildCardAllImported() {

    Interface interfaze = new Interface(new FullyQualifiedJavaType("com.foo.UserMapper"));
    interfaze.addImportedType(new FullyQualifiedJavaType("java.util.Map"));
    interfaze.addImportedType(new FullyQualifiedJavaType("java.util.List"));
    interfaze.addImportedType(new FullyQualifiedJavaType("com.beeant.dto.User"));
    interfaze.addImportedType(new FullyQualifiedJavaType("java.math.BigDecimal"));
    FullyQualifiedJavaType fqjt = new FullyQualifiedJavaType("java.util.Map<java.math.BigDecimal, java.util.List<? extends com.beeant.dto.User>>");
    assertEquals("Map<BigDecimal, List<? extends User>>",
            JavaDomUtils.calculateTypeName(interfaze, fqjt));
}