// Mocks generated by Mockito 5.4.1 from annotations // in amplify_push_notifications_pinpoint/test/pinpoint_provider_test.dart. // Do not manually edit this file. // @dart=2.19 // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i7; import 'package:amplify_analytics_pinpoint_dart/src/impl/analytics_client/analytics_client.dart' as _i8; import 'package:amplify_analytics_pinpoint_dart/src/impl/analytics_client/endpoint_client/endpoint_client.dart' as _i4; import 'package:amplify_analytics_pinpoint_dart/src/impl/analytics_client/event_client/event_client.dart' as _i5; import 'package:amplify_analytics_pinpoint_dart/src/impl/analytics_client/event_client/queued_item_store/queued_item_store.dart' as _i9; import 'package:amplify_analytics_pinpoint_dart/src/sdk/pinpoint.dart' as _i6; import 'package:amplify_core/amplify_core.dart' as _i3; import 'package:aws_signature_v4/aws_signature_v4.dart' as _i2; import 'package:mockito/mockito.dart' as _i1; // 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: implementation_imports // ignore_for_file: invalid_use_of_visible_for_testing_member // 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 _FakeAWSSignedRequest_0 extends _i1.SmartFake implements _i2.AWSSignedRequest { _FakeAWSSignedRequest_0( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeAWSCredentials_1 extends _i1.SmartFake implements _i3.AWSCredentials { _FakeAWSCredentials_1( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeEndpointClient_2 extends _i1.SmartFake implements _i4.EndpointClient { _FakeEndpointClient_2( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeEventClient_3 extends _i1.SmartFake implements _i5.EventClient { _FakeEventClient_3( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakePublicEndpoint_4 extends _i1.SmartFake implements _i6.PublicEndpoint { _FakePublicEndpoint_4( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } /// A class which mocks [AmplifyAuthProviderRepository]. /// /// See the documentation for Mockito's code generation for more information. class MockAmplifyAuthProviderRepository extends _i1.Mock implements _i3.AmplifyAuthProviderRepository { MockAmplifyAuthProviderRepository() { _i1.throwOnMissingStub(this); } @override T? getAuthProvider( _i3.AmplifyAuthProviderToken? token) => (super.noSuchMethod(Invocation.method( #getAuthProvider, [token], )) as T?); @override void registerAuthProvider( _i3.AmplifyAuthProviderToken? token, _i3.AmplifyAuthProvider? authProvider, ) => super.noSuchMethod( Invocation.method( #registerAuthProvider, [ token, authProvider, ], ), returnValueForMissingStub: null, ); } /// A class which mocks [AWSIamAmplifyAuthProvider]. /// /// See the documentation for Mockito's code generation for more information. class MockAWSIamAmplifyAuthProvider extends _i1.Mock implements _i3.AWSIamAmplifyAuthProvider { MockAWSIamAmplifyAuthProvider() { _i1.throwOnMissingStub(this); } @override _i7.Future<_i2.AWSSignedRequest> authorizeRequest( _i3.AWSBaseHttpRequest? request, { _i3.AuthProviderOptions? options, }) => (super.noSuchMethod( Invocation.method( #authorizeRequest, [request], {#options: options}, ), returnValue: _i7.Future<_i2.AWSSignedRequest>.value(_FakeAWSSignedRequest_0( this, Invocation.method( #authorizeRequest, [request], {#options: options}, ), )), ) as _i7.Future<_i2.AWSSignedRequest>); @override _i7.FutureOr<_i3.AWSCredentials> retrieve() => (super.noSuchMethod( Invocation.method( #retrieve, [], ), returnValue: _i7.Future<_i3.AWSCredentials>.value(_FakeAWSCredentials_1( this, Invocation.method( #retrieve, [], ), )), ) as _i7.FutureOr<_i3.AWSCredentials>); } /// A class which mocks [UserProfile]. /// /// See the documentation for Mockito's code generation for more information. class MockUserProfile extends _i1.Mock implements _i3.UserProfile { MockUserProfile() { _i1.throwOnMissingStub(this); } } /// A class which mocks [AnalyticsClient]. /// /// See the documentation for Mockito's code generation for more information. class MockAnalyticsClient extends _i1.Mock implements _i8.AnalyticsClient { MockAnalyticsClient() { _i1.throwOnMissingStub(this); } @override _i4.EndpointClient get endpointClient => (super.noSuchMethod( Invocation.getter(#endpointClient), returnValue: _FakeEndpointClient_2( this, Invocation.getter(#endpointClient), ), ) as _i4.EndpointClient); @override set endpointClient(_i4.EndpointClient? _endpointClient) => super.noSuchMethod( Invocation.setter( #endpointClient, _endpointClient, ), returnValueForMissingStub: null, ); @override _i5.EventClient get eventClient => (super.noSuchMethod( Invocation.getter(#eventClient), returnValue: _FakeEventClient_3( this, Invocation.getter(#eventClient), ), ) as _i5.EventClient); @override set eventClient(_i5.EventClient? _eventClient) => super.noSuchMethod( Invocation.setter( #eventClient, _eventClient, ), returnValueForMissingStub: null, ); @override _i7.Future init({ required String? pinpointAppId, required String? region, required _i3.AWSCredentialsProvider? authProvider, _i9.QueuedItemStore? eventStore, }) => (super.noSuchMethod( Invocation.method( #init, [], { #pinpointAppId: pinpointAppId, #region: region, #authProvider: authProvider, #eventStore: eventStore, }, ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); } /// A class which mocks [EndpointClient]. /// /// See the documentation for Mockito's code generation for more information. class MockEndpointClient extends _i1.Mock implements _i4.EndpointClient { MockEndpointClient() { _i1.throwOnMissingStub(this); } @override String get fixedEndpointId => (super.noSuchMethod( Invocation.getter(#fixedEndpointId), returnValue: '', ) as String); @override set channelType(_i6.ChannelType? channelType) => super.noSuchMethod( Invocation.setter( #channelType, channelType, ), returnValueForMissingStub: null, ); @override set address(String? address) => super.noSuchMethod( Invocation.setter( #address, address, ), returnValueForMissingStub: null, ); @override set optOut(String? optOut) => super.noSuchMethod( Invocation.setter( #optOut, optOut, ), returnValueForMissingStub: null, ); @override _i7.Future addAttribute( String? name, String? value, ) => (super.noSuchMethod( Invocation.method( #addAttribute, [ name, value, ], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future removeAttribute(String? name) => (super.noSuchMethod( Invocation.method( #removeAttribute, [name], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future addMetric( String? name, double? value, ) => (super.noSuchMethod( Invocation.method( #addMetric, [ name, value, ], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future removeMetric(String? name) => (super.noSuchMethod( Invocation.method( #removeMetric, [name], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future setUser( String? userId, _i3.UserProfile? userProfile, ) => (super.noSuchMethod( Invocation.method( #setUser, [ userId, userProfile, ], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i6.PublicEndpoint getPublicEndpoint() => (super.noSuchMethod( Invocation.method( #getPublicEndpoint, [], ), returnValue: _FakePublicEndpoint_4( this, Invocation.method( #getPublicEndpoint, [], ), ), ) as _i6.PublicEndpoint); @override _i7.Future updateEndpoint() => (super.noSuchMethod( Invocation.method( #updateEndpoint, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); } /// A class which mocks [EventClient]. /// /// See the documentation for Mockito's code generation for more information. class MockEventClient extends _i1.Mock implements _i5.EventClient { MockEventClient() { _i1.throwOnMissingStub(this); } @override _i7.Future recordEvent({ required String? eventType, _i6.Session? session, _i3.CustomProperties? properties, }) => (super.noSuchMethod( Invocation.method( #recordEvent, [], { #eventType: eventType, #session: session, #properties: properties, }, ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override void registerGlobalProperties(_i3.CustomProperties? globalProperties) => super.noSuchMethod( Invocation.method( #registerGlobalProperties, [globalProperties], ), returnValueForMissingStub: null, ); @override void unregisterGlobalProperties(List? propertyNames) => super.noSuchMethod( Invocation.method( #unregisterGlobalProperties, [propertyNames], ), returnValueForMissingStub: null, ); @override _i7.Future flushEvents() => (super.noSuchMethod( Invocation.method( #flushEvents, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); @override _i7.Future close() => (super.noSuchMethod( Invocation.method( #close, [], ), returnValue: _i7.Future.value(), returnValueForMissingStub: _i7.Future.value(), ) as _i7.Future); }