'If a new key is created, it\'s added to C{_createdKeys}.'

def test_newKey(self):

    lib = FakeLib()
    key = lib.EC_KEY_new_by_curve_name(FakeNID('name'))
    self.assertEqual(set([key]), lib._createdKeys)
