@Test
    public void twoFilesInFolderTree() throws IOException {
        File newFolder = tempFolder.newFolder();
        File folderExample = new File(newFolder.getAbsolutePath() + "/src/java/com");
        if(!folderExample.mkdirs()) {
            throw new RuntimeException();
        }
        File file1 = new File(folderExample.getAbsolutePath() + "/javaFile21.java");
        File file2 = new File(folderExample.getAbsolutePath() + "/javaFile.java");
        File fake = new File(folderExample.getAbsolutePath() + "/javaFile.docx");
        if(!file1.createNewFile() || !file2.createNewFile() || !fake.createNewFile()) {
            throw new RuntimeException();
        }
        JavaFileFinder fileFinder = new JavaFileFinder();
        List<File> results = fileFinder.find(tempFolder.getRoot());
        assertEquals(true, fileIsInList(file1, results));
        assertEquals(true, fileIsInList(file2, results));
        assertEquals(false, fileIsInList(fake, results));
    }