public function testRegisterAction()
{
$this->prepareDb();
$user = new User('ikwattro');
$role = $this->em->getRepository(SecurityRole::class)->findOneBy('roleType', 'ROLE_USER');
$user->addRole($role);
$this->em->persist($user);
$this->em->flush();
}