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