@Test
public void testAddImportedType() {

    Interface interfaze = new Interface("com.foo.UserInterface");
    FullyQualifiedJavaType arrayList = FullyQualifiedJavaType.getNewArrayListInstance();
    interfaze.addImportedType(arrayList);
    assertNotNull(interfaze.getImportedTypes());
    assertEquals(1, interfaze.getImportedTypes().size());
    assertTrue(interfaze.getImportedTypes().contains(arrayList));
}