// Mocks generated by Mockito 5.4.5 from annotations // in superport/test/domain/usecases/license/create_license_usecase_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i4; import 'package:mockito/mockito.dart' as _i1; import 'package:superport/data/models/license/license_dto.dart' as _i2; import 'package:superport/data/repositories/license_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 class _FakeLicenseListResponseDto_0 extends _i1.SmartFake implements _i2.LicenseListResponseDto { _FakeLicenseListResponseDto_0( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeLicenseDto_1 extends _i1.SmartFake implements _i2.LicenseDto { _FakeLicenseDto_1( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } /// A class which mocks [LicenseRepository]. /// /// See the documentation for Mockito's code generation for more information. class MockLicenseRepository extends _i1.Mock implements _i3.LicenseRepository { MockLicenseRepository() { _i1.throwOnMissingStub(this); } @override _i4.Future<_i2.LicenseListResponseDto> getLicenses({ int? page = 1, int? perPage = 20, String? search, Map? filters, }) => (super.noSuchMethod( Invocation.method( #getLicenses, [], { #page: page, #perPage: perPage, #search: search, #filters: filters, }, ), returnValue: _i4.Future<_i2.LicenseListResponseDto>.value( _FakeLicenseListResponseDto_0( this, Invocation.method( #getLicenses, [], { #page: page, #perPage: perPage, #search: search, #filters: filters, }, ), )), ) as _i4.Future<_i2.LicenseListResponseDto>); @override _i4.Future<_i2.LicenseDto> getLicenseDetail(int? id) => (super.noSuchMethod( Invocation.method( #getLicenseDetail, [id], ), returnValue: _i4.Future<_i2.LicenseDto>.value(_FakeLicenseDto_1( this, Invocation.method( #getLicenseDetail, [id], ), )), ) as _i4.Future<_i2.LicenseDto>); @override _i4.Future<_i2.LicenseDto> createLicense(Map? data) => (super.noSuchMethod( Invocation.method( #createLicense, [data], ), returnValue: _i4.Future<_i2.LicenseDto>.value(_FakeLicenseDto_1( this, Invocation.method( #createLicense, [data], ), )), ) as _i4.Future<_i2.LicenseDto>); @override _i4.Future<_i2.LicenseDto> updateLicense( int? id, Map? data, ) => (super.noSuchMethod( Invocation.method( #updateLicense, [ id, data, ], ), returnValue: _i4.Future<_i2.LicenseDto>.value(_FakeLicenseDto_1( this, Invocation.method( #updateLicense, [ id, data, ], ), )), ) as _i4.Future<_i2.LicenseDto>); @override _i4.Future deleteLicense(int? id) => (super.noSuchMethod( Invocation.method( #deleteLicense, [id], ), returnValue: _i4.Future.value(), returnValueForMissingStub: _i4.Future.value(), ) as _i4.Future); }