Alcaeus\MongoDbAdapter\Tests\Mongo\MongoDBRefTest::testGetWithNonExistingDocument PHP Method

testGetWithNonExistingDocument() public method

    public function testGetWithNonExistingDocument()
    {
        $db = $this->getDatabase();
        $this->assertNull(\MongoDBRef::get($db, ['$ref' => 'test', '$id' => 'foo']));
    }