def METHOD_NAME(self):
    # should only allow things that can be mapped (e.g. dictionary)
    # and that have a copy() function
    with self.assertRaises(AssertionError):
        x = ro_types.ReadOnlyDict([])
    # should work with a dictionary
    x = ro_types.ReadOnlyDict({'a': 1, 'b': 2})
    # should work with an OrderedDict
    x = ro_types.ReadOnlyDict(collections
                              .OrderedDict([('a', 1), ('b', 2)]))
    # check that the data is copied
    b = {'a': 1}
    x = ro_types.ReadOnlyDict(b)
    b['a'] = 2
    self.assertEqual(x['a'], 1)