public function testGetReference()
{
$proxy = $this->dm->getReference($this->type, 1);
$this->assertInstanceOf('Doctrine\\ODM\\CouchDB\\Proxy\\Proxy', $proxy);
$this->assertFalse($proxy->__isInitialized__);
$this->assertEquals('foo', $proxy->getTitle());
$this->assertTrue($proxy->__isInitialized__);
$this->assertEquals('bar', $proxy->getBody());
}