final File[] resourceFiles = Resources.getResourceFiles(directory);
if (resourceFiles.length == 0) {
Assert.fail("No files found under "+directory);
}
for(File f : resourceFiles) {
final Document subject = new MockLocation(f.toString());
BufferedReader br = null;
try {
boolean result = false;
br = Resources.getBufferedReader(f);
String line;