@Test
public void testImportImport() throws Exception
{
JavaInterfaceSource foo = Roaster.parse(JavaInterfaceSource.class, "public interface Foo{}");
Import i = foo.addImport(getClass());
foo.removeImport(getClass());
Import i2 = foo.addImport(i);
assertNotSame(i, i2);
assertEquals(i.getQualifiedName(), i2.getQualifiedName());