public function testFilterFilesList()
{
$fileList = ['src/Tester/QuestionToken.php', 'src/Util/ArrayUtil.php', 'src/bootstrap.php', 'bootstrap.inc', 'assets/file.js', 'tests/ApplicationTest.php', 'tests/Command/BaseTestCase.php', 'tests/Command/Branch/BranchChangelogCommandTest.php', 'tests/Command/Branch/BranchDeleteCommandTest.php'];
$expectedFileList = ['src/Tester/QuestionToken.php', 'src/Util/ArrayUtil.php'];
$this->assertEquals($expectedFileList, $this->helper->filterFilesList($fileList, ['{^tests/.+}', 'src/bootstrap.php', 'bootstrap.inc', '*.js']));
}