/** * @dataProvider existingSubfolderProvider */ public function testLsForSubfolder($subfolder) { $result = $this->client->ls($subfolder); $this->assertInternalType('array', $result); $this->assertContainsOnlyInstancesOf('Webcreate\\Vcs\\Common\\VcsFileInfo', $result); }