public function setUp()
{
$user1 = new \Doctrine\Tests\Models\CMS\CmsUser();
$user1->username = "beberlei";
$user1->status = "active";
$user1->name = "Benjamin";
$user2 = new \Doctrine\Tests\Models\CMS\CmsUser();
$user2->username = "lsmith";
$user2->status = "active";
$user2->name = "Lukas";
$article = new \Doctrine\Tests\Models\CMS\CmsArticle();
$article->text = "Foo";
$article->topic = "Foo";
$article->setAuthor($user1);
$this->dm = $this->createDocumentManager();
$this->dm->persist($user1);
$this->dm->persist($user2);
$this->dm->persist($article);
$this->dm->flush();
$this->dm->clear();
$this->articleId = $article->id;
$this->userIds = array($user1->id, $user2->id);
}