/** * @dataProvider paths */ public function testListFiles($basepath, $expected) { $this->assertEquals($expected, Bloge\listFiles($basepath, $basepath)); }
public function testBrowse() { $this->assertEquals(\Bloge\listFiles(CONTENT_DIR, CONTENT_DIR), $this->content()->browse()); }
/** * @{inheritDoc} */ public function browse($directory = '') { return \Bloge\listFiles($this->path($directory), $this->path); }