def test_create_relation(self) -> None:
    relations = self.user.create_relation()
    self.assertEqual(len(relations), 1)
    start_key = 'example@example.com'
    end_key = 'example@example.com'
    expected_relation = {RELATION_START_KEY: start_key, RELATION_START_LABEL: User.USER_NODE_LABEL, RELATION_END_KEY: end_key, RELATION_END_LABEL: User.USER_NODE_LABEL, RELATION_TYPE: User.USER_MANAGER_RELATION_TYPE, RELATION_REVERSE_TYPE: User.MANAGER_USER_RELATION_TYPE}
    self.assertTrue(expected_relation, neo4_serializer.serialize_relationship(relations[0]))
def test_create_relation(self) -> None:
    relations = self.user.create_relation()
    self.assertEqual(len(relations), 1)
    start_key = 'example@example.com'
    end_key = 'example@example.com'
    expected_relation = {RELATION_START_KEY: start_key, RELATION_START_LABEL: User.USER_NODE_LABEL, RELATION_END_KEY: end_key, RELATION_END_LABEL: User.USER_NODE_LABEL, RELATION_TYPE: User.USER_MANAGER_RELATION_TYPE, RELATION_REVERSE_TYPE: User.MANAGER_USER_RELATION_TYPE}
    self.assertTrue(expected_relation, neo4_serializer.serialize_relationship(relations[0]))