def METHOD_NAME(self, activities, error_code=None):
    expected_params = {}
    response = {'activities': activities}
    self._stub_bifurcator(
        'list_activities', expected_params, response, error_code=error_code)