|
| 1 | +// Mocks generated by Mockito 5.4.5 from annotations |
| 2 | +// in raygun_cli/test/deployments/deployments_api_test.dart. |
| 3 | +// Do not manually edit this file. |
| 4 | + |
| 5 | +// ignore_for_file: no_leading_underscores_for_library_prefixes |
| 6 | +import 'dart:async' as _i3; |
| 7 | +import 'dart:convert' as _i4; |
| 8 | +import 'dart:typed_data' as _i6; |
| 9 | + |
| 10 | +import 'package:http/http.dart' as _i2; |
| 11 | +import 'package:mockito/mockito.dart' as _i1; |
| 12 | +import 'package:mockito/src/dummies.dart' as _i5; |
| 13 | + |
| 14 | +// ignore_for_file: type=lint |
| 15 | +// ignore_for_file: avoid_redundant_argument_values |
| 16 | +// ignore_for_file: avoid_setters_without_getters |
| 17 | +// ignore_for_file: comment_references |
| 18 | +// ignore_for_file: deprecated_member_use |
| 19 | +// ignore_for_file: deprecated_member_use_from_same_package |
| 20 | +// ignore_for_file: implementation_imports |
| 21 | +// ignore_for_file: invalid_use_of_visible_for_testing_member |
| 22 | +// ignore_for_file: must_be_immutable |
| 23 | +// ignore_for_file: prefer_const_constructors |
| 24 | +// ignore_for_file: unnecessary_parenthesis |
| 25 | +// ignore_for_file: camel_case_types |
| 26 | +// ignore_for_file: subtype_of_sealed_class |
| 27 | + |
| 28 | +class _FakeResponse_0 extends _i1.SmartFake implements _i2.Response { |
| 29 | + _FakeResponse_0(Object parent, Invocation parentInvocation) |
| 30 | + : super(parent, parentInvocation); |
| 31 | +} |
| 32 | + |
| 33 | +class _FakeStreamedResponse_1 extends _i1.SmartFake |
| 34 | + implements _i2.StreamedResponse { |
| 35 | + _FakeStreamedResponse_1(Object parent, Invocation parentInvocation) |
| 36 | + : super(parent, parentInvocation); |
| 37 | +} |
| 38 | + |
| 39 | +/// A class which mocks [Client]. |
| 40 | +/// |
| 41 | +/// See the documentation for Mockito's code generation for more information. |
| 42 | +class MockClient extends _i1.Mock implements _i2.Client { |
| 43 | + MockClient() { |
| 44 | + _i1.throwOnMissingStub(this); |
| 45 | + } |
| 46 | + |
| 47 | + @override |
| 48 | + _i3.Future<_i2.Response> head(Uri? url, {Map<String, String>? headers}) => |
| 49 | + (super.noSuchMethod( |
| 50 | + Invocation.method(#head, [url], {#headers: headers}), |
| 51 | + returnValue: _i3.Future<_i2.Response>.value( |
| 52 | + _FakeResponse_0( |
| 53 | + this, |
| 54 | + Invocation.method(#head, [url], {#headers: headers}), |
| 55 | + ), |
| 56 | + ), |
| 57 | + ) as _i3.Future<_i2.Response>); |
| 58 | + |
| 59 | + @override |
| 60 | + _i3.Future<_i2.Response> get(Uri? url, {Map<String, String>? headers}) => |
| 61 | + (super.noSuchMethod( |
| 62 | + Invocation.method(#get, [url], {#headers: headers}), |
| 63 | + returnValue: _i3.Future<_i2.Response>.value( |
| 64 | + _FakeResponse_0( |
| 65 | + this, |
| 66 | + Invocation.method(#get, [url], {#headers: headers}), |
| 67 | + ), |
| 68 | + ), |
| 69 | + ) as _i3.Future<_i2.Response>); |
| 70 | + |
| 71 | + @override |
| 72 | + _i3.Future<_i2.Response> post( |
| 73 | + Uri? url, { |
| 74 | + Map<String, String>? headers, |
| 75 | + Object? body, |
| 76 | + _i4.Encoding? encoding, |
| 77 | + }) => |
| 78 | + (super.noSuchMethod( |
| 79 | + Invocation.method( |
| 80 | + #post, |
| 81 | + [url], |
| 82 | + {#headers: headers, #body: body, #encoding: encoding}, |
| 83 | + ), |
| 84 | + returnValue: _i3.Future<_i2.Response>.value( |
| 85 | + _FakeResponse_0( |
| 86 | + this, |
| 87 | + Invocation.method( |
| 88 | + #post, |
| 89 | + [url], |
| 90 | + {#headers: headers, #body: body, #encoding: encoding}, |
| 91 | + ), |
| 92 | + ), |
| 93 | + ), |
| 94 | + ) as _i3.Future<_i2.Response>); |
| 95 | + |
| 96 | + @override |
| 97 | + _i3.Future<_i2.Response> put( |
| 98 | + Uri? url, { |
| 99 | + Map<String, String>? headers, |
| 100 | + Object? body, |
| 101 | + _i4.Encoding? encoding, |
| 102 | + }) => |
| 103 | + (super.noSuchMethod( |
| 104 | + Invocation.method( |
| 105 | + #put, |
| 106 | + [url], |
| 107 | + {#headers: headers, #body: body, #encoding: encoding}, |
| 108 | + ), |
| 109 | + returnValue: _i3.Future<_i2.Response>.value( |
| 110 | + _FakeResponse_0( |
| 111 | + this, |
| 112 | + Invocation.method( |
| 113 | + #put, |
| 114 | + [url], |
| 115 | + {#headers: headers, #body: body, #encoding: encoding}, |
| 116 | + ), |
| 117 | + ), |
| 118 | + ), |
| 119 | + ) as _i3.Future<_i2.Response>); |
| 120 | + |
| 121 | + @override |
| 122 | + _i3.Future<_i2.Response> patch( |
| 123 | + Uri? url, { |
| 124 | + Map<String, String>? headers, |
| 125 | + Object? body, |
| 126 | + _i4.Encoding? encoding, |
| 127 | + }) => |
| 128 | + (super.noSuchMethod( |
| 129 | + Invocation.method( |
| 130 | + #patch, |
| 131 | + [url], |
| 132 | + {#headers: headers, #body: body, #encoding: encoding}, |
| 133 | + ), |
| 134 | + returnValue: _i3.Future<_i2.Response>.value( |
| 135 | + _FakeResponse_0( |
| 136 | + this, |
| 137 | + Invocation.method( |
| 138 | + #patch, |
| 139 | + [url], |
| 140 | + {#headers: headers, #body: body, #encoding: encoding}, |
| 141 | + ), |
| 142 | + ), |
| 143 | + ), |
| 144 | + ) as _i3.Future<_i2.Response>); |
| 145 | + |
| 146 | + @override |
| 147 | + _i3.Future<_i2.Response> delete( |
| 148 | + Uri? url, { |
| 149 | + Map<String, String>? headers, |
| 150 | + Object? body, |
| 151 | + _i4.Encoding? encoding, |
| 152 | + }) => |
| 153 | + (super.noSuchMethod( |
| 154 | + Invocation.method( |
| 155 | + #delete, |
| 156 | + [url], |
| 157 | + {#headers: headers, #body: body, #encoding: encoding}, |
| 158 | + ), |
| 159 | + returnValue: _i3.Future<_i2.Response>.value( |
| 160 | + _FakeResponse_0( |
| 161 | + this, |
| 162 | + Invocation.method( |
| 163 | + #delete, |
| 164 | + [url], |
| 165 | + {#headers: headers, #body: body, #encoding: encoding}, |
| 166 | + ), |
| 167 | + ), |
| 168 | + ), |
| 169 | + ) as _i3.Future<_i2.Response>); |
| 170 | + |
| 171 | + @override |
| 172 | + _i3.Future<String> read(Uri? url, {Map<String, String>? headers}) => |
| 173 | + (super.noSuchMethod( |
| 174 | + Invocation.method(#read, [url], {#headers: headers}), |
| 175 | + returnValue: _i3.Future<String>.value( |
| 176 | + _i5.dummyValue<String>( |
| 177 | + this, |
| 178 | + Invocation.method(#read, [url], {#headers: headers}), |
| 179 | + ), |
| 180 | + ), |
| 181 | + ) as _i3.Future<String>); |
| 182 | + |
| 183 | + @override |
| 184 | + _i3.Future<_i6.Uint8List> readBytes( |
| 185 | + Uri? url, { |
| 186 | + Map<String, String>? headers, |
| 187 | + }) => |
| 188 | + (super.noSuchMethod( |
| 189 | + Invocation.method(#readBytes, [url], {#headers: headers}), |
| 190 | + returnValue: _i3.Future<_i6.Uint8List>.value(_i6.Uint8List(0)), |
| 191 | + ) as _i3.Future<_i6.Uint8List>); |
| 192 | + |
| 193 | + @override |
| 194 | + _i3.Future<_i2.StreamedResponse> send(_i2.BaseRequest? request) => |
| 195 | + (super.noSuchMethod( |
| 196 | + Invocation.method(#send, [request]), |
| 197 | + returnValue: _i3.Future<_i2.StreamedResponse>.value( |
| 198 | + _FakeStreamedResponse_1( |
| 199 | + this, |
| 200 | + Invocation.method(#send, [request]), |
| 201 | + ), |
| 202 | + ), |
| 203 | + ) as _i3.Future<_i2.StreamedResponse>); |
| 204 | + |
| 205 | + @override |
| 206 | + void close() => super.noSuchMethod( |
| 207 | + Invocation.method(#close, []), |
| 208 | + returnValueForMissingStub: null, |
| 209 | + ); |
| 210 | +} |
0 commit comments