public function testManagedEntityIsFlushedOnBooleanLabelUpdate()
{
$user = new User('ikwattro');
$user->setActive();
$this->em->persist($user);
$this->em->flush();
$this->assertGraphExist('(u:User:Active {login:"ikwattro"})');
$user->setInactive();
$this->assertFalse($user->isActive());
$this->em->flush();
$this->assertGraphNotExist('(u:User:Active {login:"ikwattro"})');
}