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