@Test
public void testGetAllFiles() {

  final File[] f1 = DirUtil.getAllFiles(new File("./src/test/resources/foo"), null);
  assertEquals(4, f1.length);
  final File[] f2 =
      DirUtil.getAllFiles(new File("./src/test/resources/foo"), new String[] {"bar"});
  assertEquals(3, f2.length);
  final File[] f3 =
      DirUtil.getAllFiles(new File("./src/test/resources/foo"), new String[] {"bar", "baz"});
  assertEquals(2, f3.length);
}