public function testEntityIsPersistedWithRelationship()
{
$company = new Company('Acme');
$user = new User('ikwattro');
$user->setCurrentCompany($company);
$company->addEmployee($user);
$this->em->persist($user);
$this->em->flush();
$this->assertGraphExist('(u:User {login:"******"})-[r:WORKS_AT]->(c:Company {name:"Acme"})');
}