public function testFileProperty() { $file = $this->getFile(); $this->assertArrayHasKey('_id', $file->file); $this->assertArraySubset(['length' => 666, 'filename' => 'file', 'md5' => 'md5'], $file->file); }