// Mocks generated by Mockito 5.4.6 from annotations
// in unionflow_mobile_apps/test/features/finance_workflow/domain/usecases/get_budget_tracking_test.dart.
// Do not manually edit this file.

// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i4;

import 'package:dartz/dartz.dart' as _i2;
import 'package:mockito/mockito.dart' as _i1;
import 'package:unionflow_mobile_apps/core/error/failures.dart' as _i5;
import 'package:unionflow_mobile_apps/features/finance_workflow/domain/entities/budget.dart'
    as _i7;
import 'package:unionflow_mobile_apps/features/finance_workflow/domain/entities/financial_audit_log.dart'
    as _i8;
import 'package:unionflow_mobile_apps/features/finance_workflow/domain/entities/transaction_approval.dart'
    as _i6;
import 'package:unionflow_mobile_apps/features/finance_workflow/domain/repositories/finance_workflow_repository.dart'
    as _i3;

// ignore_for_file: type=lint
// ignore_for_file: avoid_redundant_argument_values
// ignore_for_file: avoid_setters_without_getters
// ignore_for_file: comment_references
// ignore_for_file: deprecated_member_use
// ignore_for_file: deprecated_member_use_from_same_package
// ignore_for_file: implementation_imports
// ignore_for_file: invalid_use_of_visible_for_testing_member
// ignore_for_file: must_be_immutable
// ignore_for_file: prefer_const_constructors
// ignore_for_file: unnecessary_parenthesis
// ignore_for_file: camel_case_types
// ignore_for_file: subtype_of_sealed_class
// ignore_for_file: invalid_use_of_internal_member

class _FakeEither_0<L, R> extends _i1.SmartFake implements _i2.Either<L, R> {
  _FakeEither_0(Object parent, Invocation parentInvocation)
    : super(parent, parentInvocation);
}

/// A class which mocks [FinanceWorkflowRepository].
///
/// See the documentation for Mockito's code generation for more information.
class MockFinanceWorkflowRepository extends _i1.Mock
    implements _i3.FinanceWorkflowRepository {
  MockFinanceWorkflowRepository() {
    _i1.throwOnMissingStub(this);
  }

  @override
  _i4.Future<_i2.Either<_i5.Failure, List<_i6.TransactionApproval>>>
  getPendingApprovals({String? organizationId}) =>
      (super.noSuchMethod(
            Invocation.method(#getPendingApprovals, [], {
              #organizationId: organizationId,
            }),
            returnValue:
                _i4.Future<
                  _i2.Either<_i5.Failure, List<_i6.TransactionApproval>>
                >.value(
                  _FakeEither_0<_i5.Failure, List<_i6.TransactionApproval>>(
                    this,
                    Invocation.method(#getPendingApprovals, [], {
                      #organizationId: organizationId,
                    }),
                  ),
                ),
          )
          as _i4.Future<
            _i2.Either<_i5.Failure, List<_i6.TransactionApproval>>
          >);

  @override
  _i4.Future<_i2.Either<_i5.Failure, _i6.TransactionApproval>> getApprovalById(
    String? approvalId,
  ) =>
      (super.noSuchMethod(
            Invocation.method(#getApprovalById, [approvalId]),
            returnValue:
                _i4.Future<
                  _i2.Either<_i5.Failure, _i6.TransactionApproval>
                >.value(
                  _FakeEither_0<_i5.Failure, _i6.TransactionApproval>(
                    this,
                    Invocation.method(#getApprovalById, [approvalId]),
                  ),
                ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, _i6.TransactionApproval>>);

  @override
  _i4.Future<_i2.Either<_i5.Failure, _i6.TransactionApproval>>
  approveTransaction({required String? approvalId, String? comment}) =>
      (super.noSuchMethod(
            Invocation.method(#approveTransaction, [], {
              #approvalId: approvalId,
              #comment: comment,
            }),
            returnValue:
                _i4.Future<
                  _i2.Either<_i5.Failure, _i6.TransactionApproval>
                >.value(
                  _FakeEither_0<_i5.Failure, _i6.TransactionApproval>(
                    this,
                    Invocation.method(#approveTransaction, [], {
                      #approvalId: approvalId,
                      #comment: comment,
                    }),
                  ),
                ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, _i6.TransactionApproval>>);

  @override
  _i4.Future<_i2.Either<_i5.Failure, _i6.TransactionApproval>>
  rejectTransaction({required String? approvalId, required String? reason}) =>
      (super.noSuchMethod(
            Invocation.method(#rejectTransaction, [], {
              #approvalId: approvalId,
              #reason: reason,
            }),
            returnValue:
                _i4.Future<
                  _i2.Either<_i5.Failure, _i6.TransactionApproval>
                >.value(
                  _FakeEither_0<_i5.Failure, _i6.TransactionApproval>(
                    this,
                    Invocation.method(#rejectTransaction, [], {
                      #approvalId: approvalId,
                      #reason: reason,
                    }),
                  ),
                ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, _i6.TransactionApproval>>);

  @override
  _i4.Future<_i2.Either<_i5.Failure, _i6.TransactionApproval>> requestApproval({
    required String? transactionId,
    required _i6.TransactionType? transactionType,
    required double? amount,
  }) =>
      (super.noSuchMethod(
            Invocation.method(#requestApproval, [], {
              #transactionId: transactionId,
              #transactionType: transactionType,
              #amount: amount,
            }),
            returnValue:
                _i4.Future<
                  _i2.Either<_i5.Failure, _i6.TransactionApproval>
                >.value(
                  _FakeEither_0<_i5.Failure, _i6.TransactionApproval>(
                    this,
                    Invocation.method(#requestApproval, [], {
                      #transactionId: transactionId,
                      #transactionType: transactionType,
                      #amount: amount,
                    }),
                  ),
                ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, _i6.TransactionApproval>>);

  @override
  _i4.Future<_i2.Either<_i5.Failure, List<_i6.TransactionApproval>>>
  getApprovalsHistory({
    String? organizationId,
    DateTime? startDate,
    DateTime? endDate,
    _i6.ApprovalStatus? status,
  }) =>
      (super.noSuchMethod(
            Invocation.method(#getApprovalsHistory, [], {
              #organizationId: organizationId,
              #startDate: startDate,
              #endDate: endDate,
              #status: status,
            }),
            returnValue:
                _i4.Future<
                  _i2.Either<_i5.Failure, List<_i6.TransactionApproval>>
                >.value(
                  _FakeEither_0<_i5.Failure, List<_i6.TransactionApproval>>(
                    this,
                    Invocation.method(#getApprovalsHistory, [], {
                      #organizationId: organizationId,
                      #startDate: startDate,
                      #endDate: endDate,
                      #status: status,
                    }),
                  ),
                ),
          )
          as _i4.Future<
            _i2.Either<_i5.Failure, List<_i6.TransactionApproval>>
          >);

  @override
  _i4.Future<_i2.Either<_i5.Failure, List<_i7.Budget>>> getBudgets({
    String? organizationId,
    _i7.BudgetStatus? status,
    int? year,
  }) =>
      (super.noSuchMethod(
            Invocation.method(#getBudgets, [], {
              #organizationId: organizationId,
              #status: status,
              #year: year,
            }),
            returnValue:
                _i4.Future<_i2.Either<_i5.Failure, List<_i7.Budget>>>.value(
                  _FakeEither_0<_i5.Failure, List<_i7.Budget>>(
                    this,
                    Invocation.method(#getBudgets, [], {
                      #organizationId: organizationId,
                      #status: status,
                      #year: year,
                    }),
                  ),
                ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, List<_i7.Budget>>>);

  @override
  _i4.Future<_i2.Either<_i5.Failure, _i7.Budget>> getBudgetById(
    String? budgetId,
  ) =>
      (super.noSuchMethod(
            Invocation.method(#getBudgetById, [budgetId]),
            returnValue: _i4.Future<_i2.Either<_i5.Failure, _i7.Budget>>.value(
              _FakeEither_0<_i5.Failure, _i7.Budget>(
                this,
                Invocation.method(#getBudgetById, [budgetId]),
              ),
            ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, _i7.Budget>>);

  @override
  _i4.Future<_i2.Either<_i5.Failure, _i7.Budget>> createBudget({
    required String? name,
    String? description,
    required String? organizationId,
    required _i7.BudgetPeriod? period,
    required int? year,
    int? month,
    required List<_i7.BudgetLine>? lines,
  }) =>
      (super.noSuchMethod(
            Invocation.method(#createBudget, [], {
              #name: name,
              #description: description,
              #organizationId: organizationId,
              #period: period,
              #year: year,
              #month: month,
              #lines: lines,
            }),
            returnValue: _i4.Future<_i2.Either<_i5.Failure, _i7.Budget>>.value(
              _FakeEither_0<_i5.Failure, _i7.Budget>(
                this,
                Invocation.method(#createBudget, [], {
                  #name: name,
                  #description: description,
                  #organizationId: organizationId,
                  #period: period,
                  #year: year,
                  #month: month,
                  #lines: lines,
                }),
              ),
            ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, _i7.Budget>>);

  @override
  _i4.Future<_i2.Either<_i5.Failure, _i7.Budget>> updateBudget({
    required String? budgetId,
    String? name,
    String? description,
    List<_i7.BudgetLine>? lines,
    _i7.BudgetStatus? status,
  }) =>
      (super.noSuchMethod(
            Invocation.method(#updateBudget, [], {
              #budgetId: budgetId,
              #name: name,
              #description: description,
              #lines: lines,
              #status: status,
            }),
            returnValue: _i4.Future<_i2.Either<_i5.Failure, _i7.Budget>>.value(
              _FakeEither_0<_i5.Failure, _i7.Budget>(
                this,
                Invocation.method(#updateBudget, [], {
                  #budgetId: budgetId,
                  #name: name,
                  #description: description,
                  #lines: lines,
                  #status: status,
                }),
              ),
            ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, _i7.Budget>>);

  @override
  _i4.Future<_i2.Either<_i5.Failure, void>> deleteBudget(String? budgetId) =>
      (super.noSuchMethod(
            Invocation.method(#deleteBudget, [budgetId]),
            returnValue: _i4.Future<_i2.Either<_i5.Failure, void>>.value(
              _FakeEither_0<_i5.Failure, void>(
                this,
                Invocation.method(#deleteBudget, [budgetId]),
              ),
            ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, void>>);

  @override
  _i4.Future<_i2.Either<_i5.Failure, Map<String, dynamic>>> getBudgetTracking({
    required String? budgetId,
  }) =>
      (super.noSuchMethod(
            Invocation.method(#getBudgetTracking, [], {#budgetId: budgetId}),
            returnValue:
                _i4.Future<_i2.Either<_i5.Failure, Map<String, dynamic>>>.value(
                  _FakeEither_0<_i5.Failure, Map<String, dynamic>>(
                    this,
                    Invocation.method(#getBudgetTracking, [], {
                      #budgetId: budgetId,
                    }),
                  ),
                ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, Map<String, dynamic>>>);

  @override
  _i4.Future<_i2.Either<_i5.Failure, List<_i8.FinancialAuditLog>>>
  getAuditLogs({
    String? organizationId,
    DateTime? startDate,
    DateTime? endDate,
    _i8.AuditOperation? operation,
    _i8.AuditEntityType? entityType,
    _i8.AuditSeverity? severity,
    int? limit,
  }) =>
      (super.noSuchMethod(
            Invocation.method(#getAuditLogs, [], {
              #organizationId: organizationId,
              #startDate: startDate,
              #endDate: endDate,
              #operation: operation,
              #entityType: entityType,
              #severity: severity,
              #limit: limit,
            }),
            returnValue:
                _i4.Future<
                  _i2.Either<_i5.Failure, List<_i8.FinancialAuditLog>>
                >.value(
                  _FakeEither_0<_i5.Failure, List<_i8.FinancialAuditLog>>(
                    this,
                    Invocation.method(#getAuditLogs, [], {
                      #organizationId: organizationId,
                      #startDate: startDate,
                      #endDate: endDate,
                      #operation: operation,
                      #entityType: entityType,
                      #severity: severity,
                      #limit: limit,
                    }),
                  ),
                ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, List<_i8.FinancialAuditLog>>>);

  @override
  _i4.Future<_i2.Either<_i5.Failure, List<_i8.FinancialAuditLog>>>
  getAnomalies({
    String? organizationId,
    DateTime? startDate,
    DateTime? endDate,
  }) =>
      (super.noSuchMethod(
            Invocation.method(#getAnomalies, [], {
              #organizationId: organizationId,
              #startDate: startDate,
              #endDate: endDate,
            }),
            returnValue:
                _i4.Future<
                  _i2.Either<_i5.Failure, List<_i8.FinancialAuditLog>>
                >.value(
                  _FakeEither_0<_i5.Failure, List<_i8.FinancialAuditLog>>(
                    this,
                    Invocation.method(#getAnomalies, [], {
                      #organizationId: organizationId,
                      #startDate: startDate,
                      #endDate: endDate,
                    }),
                  ),
                ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, List<_i8.FinancialAuditLog>>>);

  @override
  _i4.Future<_i2.Either<_i5.Failure, String>> exportAuditLogs({
    required String? organizationId,
    DateTime? startDate,
    DateTime? endDate,
    String? format = 'csv',
  }) =>
      (super.noSuchMethod(
            Invocation.method(#exportAuditLogs, [], {
              #organizationId: organizationId,
              #startDate: startDate,
              #endDate: endDate,
              #format: format,
            }),
            returnValue: _i4.Future<_i2.Either<_i5.Failure, String>>.value(
              _FakeEither_0<_i5.Failure, String>(
                this,
                Invocation.method(#exportAuditLogs, [], {
                  #organizationId: organizationId,
                  #startDate: startDate,
                  #endDate: endDate,
                  #format: format,
                }),
              ),
            ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, String>>);

  @override
  _i4.Future<_i2.Either<_i5.Failure, Map<String, dynamic>>> getWorkflowStats({
    required String? organizationId,
    DateTime? startDate,
    DateTime? endDate,
  }) =>
      (super.noSuchMethod(
            Invocation.method(#getWorkflowStats, [], {
              #organizationId: organizationId,
              #startDate: startDate,
              #endDate: endDate,
            }),
            returnValue:
                _i4.Future<_i2.Either<_i5.Failure, Map<String, dynamic>>>.value(
                  _FakeEither_0<_i5.Failure, Map<String, dynamic>>(
                    this,
                    Invocation.method(#getWorkflowStats, [], {
                      #organizationId: organizationId,
                      #startDate: startDate,
                      #endDate: endDate,
                    }),
                  ),
                ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, Map<String, dynamic>>>);
}
