def METHOD_NAME(
        self, app_name, app_version_id, stream_name, output_arn, error_code=None):
    expected_params = {
        'ApplicationName': app_name,
        'CurrentApplicationVersionId': app_version_id,
        'Output': {
            'Name': stream_name,
            'KinesisStreamsOutput': {'ResourceARN': output_arn},
            'DestinationSchema': {'RecordFormatType': 'JSON'}}}
    response = {
        'ApplicationARN':
            f'arn:aws:kinesisanalytics:REGION:123456789012:application/{app_name}',
        'ApplicationVersionId': app_version_id,
        'OutputDescriptions': [{
            'OutputId': 'test-output-id',
            'Name': stream_name,
            'KinesisStreamsOutputDescription': {
                'ResourceARN': output_arn,
                'RoleARN': 'test-role-arn'
            },
            'DestinationSchema': {'RecordFormatType': 'JSON'}}]}
    self._stub_bifurcator(
        'add_application_output', expected_params, response, error_code=error_code)