/** * @dataProvider provideGlobPatterns * @covers ::expand */ public function testExpandingGlobPatterns($pattern, array $result) { $this->application->addTestModule(new SplotResourcesTestModule()); $finder = new Finder($this->application); $this->assertEquals($result, $finder->expand($pattern, 'public'), 'Failed to return valid glob results when finding resources.'); }