public function testPushEmbeddedDocument()
{
$document = new Document($this->collection);
$document->push('profiles', new ProfileDocument(array('name' => 'USER_NAME1')));
$document->push('profiles', new ProfileDocument(array('name' => 'USER_NAME2')));
$this->assertSame(array(array('name' => 'USER_NAME1'), array('name' => 'USER_NAME2')), $document->get('profiles'));
}