static Collection<File> internalGetFileResources(String path, Pattern pattern) {
        final File file = new File(path);
        if (!file.isDirectory()) {
            return Collections.emptySet();
        }
        return getFileResourcesFromDirectory(file, pattern);
    }
@Test
    public void internalGetResourcesExisting() {
        String path = "." + File.separator + "target" + File.separator + "test-classes";
        Pattern pattern = Pattern.compile(".*txt");
        final Collection<File> retrieved = ResourceHelper.internalGetFileResources(path, pattern);
        commonVerifyCollectionWithExpectedFile(retrieved, TEST_FILE);
    }