public function testSetEmbeddedDocument()
{
$profile = new ProfileDocument(array('name' => 'USER_NAME', 'birth' => array('year' => 1984, 'month' => 8, 'day' => 10)));
$document = new Document($this->collection);
$document->set('profile', $profile);
$this->assertSame('USER_NAME', $document->get('profile.name'));
}