public function testListFilesWithExclusions()
 {
     $this->setUpTempFiles();
     $files = $this->project->listFiles($this->tmpdir, ['dir1', 'dir3/dir4']);
     $numFiles = count($files);
     $this->assertEquals(2, $numFiles, "2 files should be returned, but {$numFiles} were");
     $this->assertContains(realpath($this->tmpdir . '/dir2/file5.php'), $files, 'dir2/file5.php should be returned but it is not');
     $this->assertContains(realpath($this->tmpdir . '/dir2/file6.php'), $files, 'dir2/file6.php should be returned but it is not');
     $this->assertNotContains(realpath($this->tmpdir . '/dir1/file1.php'), $files, 'dir1/file1.php should not be returned but it is');
     $this->assertNotContains(realpath($this->tmpdir . '/dir2/file7.txt'), $files, 'dir2/file7.txt should not be returned but it is');
 }