public function testGetRelativeFiles()
 {
     $finder = new Finder();
     $finder->name('*.php')->sortByName();
     $plugin = new MoodlePlugin($this->pluginDir);
     $this->assertEquals(['lib.php', 'tests/lib_test.php', 'version.php'], $plugin->getRelativeFiles($finder));
 }
 public function testGetRelativeFiles()
 {
     $finder = new Finder();
     $finder->name('*.php')->sortByName();
     $plugin = new MoodlePlugin($this->pluginDir);
     $expected = ['classes/math.php', 'db/access.php', 'lang/en/local_travis.php', 'lib.php', 'tests/lib_test.php', 'version.php'];
     $this->assertEquals($expected, $plugin->getRelativeFiles($finder));
 }