public function testApiIsFile_ReturnsFalse_WhenModelDoesNotReturnMetadataForFile() { $path = 'path'; $this->expect('getMetadata', [$path])->willReturn(['type' => 'other']); $this->assertFalse($this->fs->isFile($path)); }