def report(config_id=1, name='mock', state='Completed',
           start='/Date(1351118760000)/',
           end='/Date(1351118760001)/',
           duration='00:00:00', errors=None,
           outcome='OK', diagnostics='OK'):
    """Base mock report."""
    return {
        'BackupConfigurationId': config_id,
        'BackupConfigurationName': name,
        'State': state,
        'StartTime': start,
        'CompletedTime': end,
        'Duration': duration,
        'NumErrors': len(errors) if errors else 0,
        'ErrorList': errors,
        'Reason': outcome,
        'Diagnostics': diagnostics
    }