def METHOD_NAME(self):
    yield self.insert_test_data([
        fakedb.Object(id=10, name='-', class_name='-'),
    ])
    d = self.db.state.atomicCreateState(10, 'x', object)
    yield self.assertFailure(d, TypeError)