// Mocks generated by Mockito 5.4.6 from annotations // in wger/test/powersync/connector_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i5; import 'package:http/http.dart' as _i2; import 'package:mockito/mockito.dart' as _i1; import 'package:mockito/src/dummies.dart' as _i4; import 'package:wger/powersync/api_client.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 _FakeUri_0 extends _i1.SmartFake implements Uri { _FakeUri_0(Object parent, Invocation parentInvocation) : super(parent, parentInvocation); } class _FakeResponse_1 extends _i1.SmartFake implements _i2.Response { _FakeResponse_1(Object parent, Invocation parentInvocation) : super(parent, parentInvocation); } /// A class which mocks [ApiClient]. /// /// See the documentation for Mockito's code generation for more information. class MockApiClient extends _i1.Mock implements _i3.ApiClient { MockApiClient() { _i1.throwOnMissingStub(this); } @override Uri get uri => (super.noSuchMethod( Invocation.getter(#uri), returnValue: _FakeUri_0(this, Invocation.getter(#uri)), ) as Uri); @override String get serverUrl => (super.noSuchMethod( Invocation.getter(#serverUrl), returnValue: _i4.dummyValue( this, Invocation.getter(#serverUrl), ), ) as String); @override Map getHeaders() => (super.noSuchMethod( Invocation.method(#getHeaders, []), returnValue: {}, ) as Map); @override _i5.Future> getPowersyncToken() => (super.noSuchMethod( Invocation.method(#getPowersyncToken, []), returnValue: _i5.Future>.value( {}, ), ) as _i5.Future>); @override _i5.Future<_i2.Response> upsert(Map? record) => (super.noSuchMethod( Invocation.method(#upsert, [record]), returnValue: _i5.Future<_i2.Response>.value( _FakeResponse_1(this, Invocation.method(#upsert, [record])), ), ) as _i5.Future<_i2.Response>); @override _i5.Future<_i2.Response> update(Map? record) => (super.noSuchMethod( Invocation.method(#update, [record]), returnValue: _i5.Future<_i2.Response>.value( _FakeResponse_1(this, Invocation.method(#update, [record])), ), ) as _i5.Future<_i2.Response>); @override _i5.Future<_i2.Response> delete(Map? record) => (super.noSuchMethod( Invocation.method(#delete, [record]), returnValue: _i5.Future<_i2.Response>.value( _FakeResponse_1(this, Invocation.method(#delete, [record])), ), ) as _i5.Future<_i2.Response>); }