public abstract boolean isDirectory();
@Test
    public void testApplicationFileIsDirectory() throws Exception {
        assertFalse(getApplicationFile(Path.fromString("vespa-services.xml")).isDirectory());
        assertTrue(getApplicationFile(Path.fromString("searchdefinitions")).isDirectory());
        assertFalse(getApplicationFile(Path.fromString("searchdefinitions/sock.sd")).isDirectory());
        assertFalse(getApplicationFile(Path.fromString("doesnotexist")).isDirectory());
    }