@Test
public void testWildcards() throws IOException {

    File tmp = tempDir.toFile();
    File child1 = new File(tempDir + Config.getPathSeparator()+"child1");
    File child2 = new File(tempDir + Config.getPathSeparator()+"child2");
    File child3 = new File(tempDir + Config.getPathSeparator()+"child3");
    if(Config.isOSPOSIXCompatible()) {
        Files.createDirectory(child1.toPath(), fileAttribute).toFile().deleteOnExit();
        Files.createDirectory(child2.toPath(), fileAttribute).toFile().deleteOnExit();
        Files.createDirectory(child3.toPath(), fileAttribute).toFile().deleteOnExit();
    }
    else {
        Files.createDirectory(child1.toPath()).toFile().deleteOnExit();
        Files.createDirectory(child2.toPath()).toFile().deleteOnExit();
        Files.createDirectory(child3.toPath()).toFile().deleteOnExit();
    }
    List<File> files = PathResolver.resolvePath(new File("*"), tmp);
    assertEquals(1, files.size());
}