def METHOD_NAME(self, name, arn, error_code=None):
    expected_params = {'name': name}
    response = {'activityArn': arn, 'creationDate': datetime.now()}
    self._stub_bifurcator(
        'create_activity', expected_params, response, error_code=error_code)