def __init__(self, cls):
        self.cls = cls
Assert than an API method was just called.
dataset/ETHPy150Open MongoEngine/mongoengine/mongoengine/context_managers.py/no_sub_classes.__init__--crossover with--dataset/ETHPy150Open jacobian-archive/openstack.compute/tests/fakeserver.py/FakeServer.assert_called