// Mocks generated by Mockito 5.4.6 from annotations // in fotodocumentation/test/testing/test_utils.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i7; import 'dart:convert' as _i18; import 'dart:typed_data' as _i19; import 'dart:ui' as _i5; import 'package:fotodocumentation/controller/foto_customer_controller.dart' as _i9; import 'package:fotodocumentation/controller/login_controller.dart' as _i6; import 'package:fotodocumentation/controller/picture_controller.dart' as _i11; import 'package:fotodocumentation/controller/questionnaire_controller.dart' as _i14; import 'package:fotodocumentation/controller/questionnaire_customer_controller.dart' as _i16; import 'package:fotodocumentation/dto/customer_dto.dart' as _i10; import 'package:fotodocumentation/dto/jwt_token_pair_dto.dart' as _i8; import 'package:fotodocumentation/dto/picture_dto.dart' as _i12; import 'package:fotodocumentation/dto/questionnaire_customer_dto.dart' as _i17; import 'package:fotodocumentation/dto/questionnaire_dto.dart' as _i15; import 'package:fotodocumentation/utils/jwt_token_storage.dart' as _i13; import 'package:fotodocumentation/utils/login_credentials.dart' as _i3; import 'package:http/http.dart' as _i2; import 'package:mockito/mockito.dart' as _i1; import 'package:mockito/src/dummies.dart' as _i4; // 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 _FakeResponse_0 extends _i1.SmartFake implements _i2.Response { _FakeResponse_0( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeStreamedResponse_1 extends _i1.SmartFake implements _i2.StreamedResponse { _FakeStreamedResponse_1( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } /// A class which mocks [LoginCredentials]. /// /// See the documentation for Mockito's code generation for more information. class MockLoginCredentials extends _i1.Mock implements _i3.LoginCredentials { MockLoginCredentials() { _i1.throwOnMissingStub(this); } @override String get fullname => (super.noSuchMethod( Invocation.getter(#fullname), returnValue: _i4.dummyValue( this, Invocation.getter(#fullname), ), ) as String); @override bool get isLoggedIn => (super.noSuchMethod( Invocation.getter(#isLoggedIn), returnValue: false, ) as bool); @override bool get hasListeners => (super.noSuchMethod( Invocation.getter(#hasListeners), returnValue: false, ) as bool); @override void setLoggedIn(bool? loggedIn) => super.noSuchMethod( Invocation.method( #setLoggedIn, [loggedIn], ), returnValueForMissingStub: null, ); @override void logout() => super.noSuchMethod( Invocation.method( #logout, [], ), returnValueForMissingStub: null, ); @override void addListener(_i5.VoidCallback? listener) => super.noSuchMethod( Invocation.method( #addListener, [listener], ), returnValueForMissingStub: null, ); @override void removeListener(_i5.VoidCallback? listener) => super.noSuchMethod( Invocation.method( #removeListener, [listener], ), returnValueForMissingStub: null, ); @override void dispose() => super.noSuchMethod( Invocation.method( #dispose, [], ), returnValueForMissingStub: null, ); @override void notifyListeners() => super.noSuchMethod( Invocation.method( #notifyListeners, [], ), returnValueForMissingStub: null, ); } /// A class which mocks [LoginController]. /// /// See the documentation for Mockito's code generation for more information. class MockLoginController extends _i1.Mock implements _i6.LoginController { MockLoginController() { _i1.throwOnMissingStub(this); } @override _i7.Future<({_i8.JwtTokenPairDto? jwtTokenPairDto})> authenticate( String? username, String? password, ) => (super.noSuchMethod( Invocation.method( #authenticate, [ username, password, ], ), returnValue: _i7.Future<({_i8.JwtTokenPairDto? jwtTokenPairDto})>.value( (jwtTokenPairDto: null)), ) as _i7.Future<({_i8.JwtTokenPairDto? jwtTokenPairDto})>); @override _i7.Future refreshAccessToken() => (super.noSuchMethod( Invocation.method( #refreshAccessToken, [], ), returnValue: _i7.Future.value(false), ) as _i7.Future); @override bool isUsingJwtAuth() => (super.noSuchMethod( Invocation.method( #isUsingJwtAuth, [], ), returnValue: false, ) as bool); } /// A class which mocks [FotoCustomerController]. /// /// See the documentation for Mockito's code generation for more information. class MockFotoCustomerController extends _i1.Mock implements _i9.FotoCustomerController { MockFotoCustomerController() { _i1.throwOnMissingStub(this); } @override _i7.Future> getAll( String? query, String? startsWith, ) => (super.noSuchMethod( Invocation.method( #getAll, [ query, startsWith, ], ), returnValue: _i7.Future>.value( <_i10.CustomerListDto>[]), ) as _i7.Future>); @override _i7.Future<_i10.CustomerDto?> get({required int? id}) => (super.noSuchMethod( Invocation.method( #get, [], {#id: id}, ), returnValue: _i7.Future<_i10.CustomerDto?>.value(), ) as _i7.Future<_i10.CustomerDto?>); @override _i7.Future> export({ required int? customerId, int? pictureId, }) => (super.noSuchMethod( Invocation.method( #export, [], { #customerId: customerId, #pictureId: pictureId, }, ), returnValue: _i7.Future>.value([]), ) as _i7.Future>); } /// A class which mocks [PictureController]. /// /// See the documentation for Mockito's code generation for more information. class MockPictureController extends _i1.Mock implements _i11.PictureController { MockPictureController() { _i1.throwOnMissingStub(this); } @override _i7.Future delete(_i12.PictureDto? dto) => (super.noSuchMethod( Invocation.method( #delete, [dto], ), returnValue: _i7.Future.value(false), ) as _i7.Future); @override _i7.Future updateEvaluation(_i12.PictureDto? dto) => (super.noSuchMethod( Invocation.method( #updateEvaluation, [dto], ), returnValue: _i7.Future.value(false), ) as _i7.Future); } /// A class which mocks [JwtTokenStorage]. /// /// See the documentation for Mockito's code generation for more information. class MockJwtTokenStorage extends _i1.Mock implements _i13.JwtTokenStorage { MockJwtTokenStorage() { _i1.throwOnMissingStub(this); } @override void saveTokens( String? accessToken, String? refreshToken, ) => super.noSuchMethod( Invocation.method( #saveTokens, [ accessToken, refreshToken, ], ), returnValueForMissingStub: null, ); @override void clearTokens() => super.noSuchMethod( Invocation.method( #clearTokens, [], ), returnValueForMissingStub: null, ); @override bool hasTokens() => (super.noSuchMethod( Invocation.method( #hasTokens, [], ), returnValue: false, ) as bool); @override void updateAccessToken(String? accessToken) => super.noSuchMethod( Invocation.method( #updateAccessToken, [accessToken], ), returnValueForMissingStub: null, ); } /// A class which mocks [QuestionnaireController]. /// /// See the documentation for Mockito's code generation for more information. class MockQuestionnaireController extends _i1.Mock implements _i14.QuestionnaireController { MockQuestionnaireController() { _i1.throwOnMissingStub(this); } @override _i7.Future delete(_i15.QuestionnaireDto? dto) => (super.noSuchMethod( Invocation.method( #delete, [dto], ), returnValue: _i7.Future.value(false), ) as _i7.Future); @override _i7.Future updateEvaluation(_i15.QuestionnaireDto? dto) => (super.noSuchMethod( Invocation.method( #updateEvaluation, [dto], ), returnValue: _i7.Future.value(false), ) as _i7.Future); } /// A class which mocks [QuestionnaireCustomerController]. /// /// See the documentation for Mockito's code generation for more information. class MockQuestionnaireCustomerController extends _i1.Mock implements _i16.QuestionnaireCustomerController { MockQuestionnaireCustomerController() { _i1.throwOnMissingStub(this); } @override _i7.Future> getAll( String? query, String? startsWith, ) => (super.noSuchMethod( Invocation.method( #getAll, [ query, startsWith, ], ), returnValue: _i7.Future>.value( <_i17.QuestionnaireCustomerListDto>[]), ) as _i7.Future>); @override _i7.Future<_i17.QuestionnaireCustomerDto?> get({required int? id}) => (super.noSuchMethod( Invocation.method( #get, [], {#id: id}, ), returnValue: _i7.Future<_i17.QuestionnaireCustomerDto?>.value(), ) as _i7.Future<_i17.QuestionnaireCustomerDto?>); @override _i7.Future> export({ required int? customerId, int? questionnaireId, }) => (super.noSuchMethod( Invocation.method( #export, [], { #customerId: customerId, #questionnaireId: questionnaireId, }, ), returnValue: _i7.Future>.value([]), ) as _i7.Future>); } /// A class which mocks [Client]. /// /// See the documentation for Mockito's code generation for more information. class MockClient extends _i1.Mock implements _i2.Client { MockClient() { _i1.throwOnMissingStub(this); } @override _i7.Future<_i2.Response> head( Uri? url, { Map? headers, }) => (super.noSuchMethod( Invocation.method( #head, [url], {#headers: headers}, ), returnValue: _i7.Future<_i2.Response>.value(_FakeResponse_0( this, Invocation.method( #head, [url], {#headers: headers}, ), )), ) as _i7.Future<_i2.Response>); @override _i7.Future<_i2.Response> get( Uri? url, { Map? headers, }) => (super.noSuchMethod( Invocation.method( #get, [url], {#headers: headers}, ), returnValue: _i7.Future<_i2.Response>.value(_FakeResponse_0( this, Invocation.method( #get, [url], {#headers: headers}, ), )), ) as _i7.Future<_i2.Response>); @override _i7.Future<_i2.Response> post( Uri? url, { Map? headers, Object? body, _i18.Encoding? encoding, }) => (super.noSuchMethod( Invocation.method( #post, [url], { #headers: headers, #body: body, #encoding: encoding, }, ), returnValue: _i7.Future<_i2.Response>.value(_FakeResponse_0( this, Invocation.method( #post, [url], { #headers: headers, #body: body, #encoding: encoding, }, ), )), ) as _i7.Future<_i2.Response>); @override _i7.Future<_i2.Response> put( Uri? url, { Map? headers, Object? body, _i18.Encoding? encoding, }) => (super.noSuchMethod( Invocation.method( #put, [url], { #headers: headers, #body: body, #encoding: encoding, }, ), returnValue: _i7.Future<_i2.Response>.value(_FakeResponse_0( this, Invocation.method( #put, [url], { #headers: headers, #body: body, #encoding: encoding, }, ), )), ) as _i7.Future<_i2.Response>); @override _i7.Future<_i2.Response> patch( Uri? url, { Map? headers, Object? body, _i18.Encoding? encoding, }) => (super.noSuchMethod( Invocation.method( #patch, [url], { #headers: headers, #body: body, #encoding: encoding, }, ), returnValue: _i7.Future<_i2.Response>.value(_FakeResponse_0( this, Invocation.method( #patch, [url], { #headers: headers, #body: body, #encoding: encoding, }, ), )), ) as _i7.Future<_i2.Response>); @override _i7.Future<_i2.Response> delete( Uri? url, { Map? headers, Object? body, _i18.Encoding? encoding, }) => (super.noSuchMethod( Invocation.method( #delete, [url], { #headers: headers, #body: body, #encoding: encoding, }, ), returnValue: _i7.Future<_i2.Response>.value(_FakeResponse_0( this, Invocation.method( #delete, [url], { #headers: headers, #body: body, #encoding: encoding, }, ), )), ) as _i7.Future<_i2.Response>); @override _i7.Future read( Uri? url, { Map? headers, }) => (super.noSuchMethod( Invocation.method( #read, [url], {#headers: headers}, ), returnValue: _i7.Future.value(_i4.dummyValue( this, Invocation.method( #read, [url], {#headers: headers}, ), )), ) as _i7.Future); @override _i7.Future<_i19.Uint8List> readBytes( Uri? url, { Map? headers, }) => (super.noSuchMethod( Invocation.method( #readBytes, [url], {#headers: headers}, ), returnValue: _i7.Future<_i19.Uint8List>.value(_i19.Uint8List(0)), ) as _i7.Future<_i19.Uint8List>); @override _i7.Future<_i2.StreamedResponse> send(_i2.BaseRequest? request) => (super.noSuchMethod( Invocation.method( #send, [request], ), returnValue: _i7.Future<_i2.StreamedResponse>.value(_FakeStreamedResponse_1( this, Invocation.method( #send, [request], ), )), ) as _i7.Future<_i2.StreamedResponse>); @override void close() => super.noSuchMethod( Invocation.method( #close, [], ), returnValueForMissingStub: null, ); }