def METHOD_NAME():
    prop = properties.Mapping(properties.String, properties.Integer, ser_as_list_of_pairs = True)
    value = {'foo': 1, 'bar': 2}
    serialized = [('foo', 1), ('bar', 2)]
    assert prop.deserialize(serialized) == value
    unittest.TestCase().assertCountEqual(prop.serialize(value), serialized)