@Test
public void testGenericTypeBaseTypeImportedImported() {

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