public function testGetWithInvalidRef() { $db = $this->getDatabase(); $this->assertNull(\MongoDBRef::get($db, [])); }