@dataProvider getPatterns
public function testGetContent($pattern) { $resource = new DirectoryResource(__DIR__, $pattern); $content = $resource ->getContent(); $this ->assertInternalType('string', $content); }