def METHOD_NAME(
        self, resource_arn, secret_arn, database, transaction_id, error_code=None):
    expected_params = {
        'resourceArn': resource_arn, 'secretArn': secret_arn, 'database': database}
    response = {'transactionId': transaction_id}
    self._stub_bifurcator(
        'begin_transaction', expected_params, response, error_code=error_code)