public function testRemoteListing() { $this->remoteFilesystem->listFiles($this->name)->willReturn([['filename' => 'test-1'], ['filename' => 'test-2']]); $this->assertEquals(['test-1', 'test-2'], $this->storage->remoteListing()); }