public function testInitFileWithWrongData() { $file = new GridFSFile($this->gridFs, 'allowed_only_array_or_MongoGridFSFile'); $this->assertInstanceOf('\\Sokil\\Mongo\\GridFSFile', $file); }