public function testListFilesReturnsEmptyArrayWithNoFiles() { $guzzle = $this->buildGuzzleFromResponses([$this->buildResponseFromStub(200, [], 'authorize_account.json'), $this->buildResponseFromStub(200, [], 'list_files_empty.json')]); $client = new Client('testId', 'testKey', ['client' => $guzzle]); $files = $client->listFiles(['BucketId' => 'bucketId']); $this->assertInternalType('array', $files); $this->assertCount(0, $files); }