@Test
public void testArray() {

    Interface interfaze = new Interface(new FullyQualifiedJavaType("com.foo.UserMapper"));
    interfaze.addImportedType(new FullyQualifiedJavaType("java.math.BigDecimal[]"));
    FullyQualifiedJavaType fqjt = new FullyQualifiedJavaType("java.math.BigDecimal[]");
    assertEquals("BigDecimal[]",
            JavaDomUtils.calculateTypeName(interfaze, fqjt));
}