assertNull(iter.next());
}
@Test
public void testIsRoot3() throws IOException {
FileIterator iter = new FileIterator(
new File("./src/test/java/eu/infomas/util/TestSupport.java"),
new File("./src/test/java/eu/infomas/annotation/")
);
while (iter.next() != null) {
if ("TestSupport.java".equals(iter.getFile().getName())) {
assertTrue(iter.isRootFile());
} else {
assertFalse(iter.getFile().toString(), iter.isRootFile());
}
}
}