void deleteContent(File dir) {
        File[] files = dir.listFiles();
        if (files == null) return;

        for (File file : files) {
            file.delete();
        }
    }
Assert that search is derived into the files in the directory given by name.

@param name the local name of the directory containing the files to check
@throws IOException if file access failed
config-model/src/test/java/com/yahoo/schema/derived/AbstractExportingTestCase.java