public function testInitFileWithArray() { $file = new GridFSFile($this->gridFs, array('param' => 'value')); $this->assertInstanceOf('\\Sokil\\Mongo\\GridFSFile', $file); }