def __init__(self, *args, **kwargs):
        if 'model' in kwargs:
            self.db = MockDBAdapter(kwargs['model'])
        else:
            self.db = MockDBAdapter()
dataset/ETHPy150Open christabor/MoAL/MOAL/software_engineering/problem_solving/design_patterns/grasp/pattern_controller.py/Controller.__init__/original