public function testManagedEntityChangesAreDetected() { $user = new User('ikwattro'); $this->em->persist($user); $this->em->flush(); $user->setAge(35); $this->em->flush(); $this->assertGraphExist('(u:User {login:"ikwattro", age:35})'); }