tdd 진행
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
// Mocks generated by Mockito 5.4.6 from annotations
|
||||
// in lanebow/test/services/event_service_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'dart:async' as _i3;
|
||||
|
||||
import 'package:lanebow/services/api_service.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: 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
|
||||
|
||||
/// A class which mocks [ApiService].
|
||||
///
|
||||
/// See the documentation for Mockito's code generation for more information.
|
||||
class MockApiService extends _i1.Mock implements _i2.ApiService {
|
||||
MockApiService() {
|
||||
_i1.throwOnMissingStub(this);
|
||||
}
|
||||
|
||||
@override
|
||||
void setToken(String? token) => super.noSuchMethod(
|
||||
Invocation.method(#setToken, [token]),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
@override
|
||||
_i3.Future<dynamic> get(
|
||||
String? path, {
|
||||
Map<String, dynamic>? queryParameters,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#get,
|
||||
[path],
|
||||
{#queryParameters: queryParameters},
|
||||
),
|
||||
returnValue: _i3.Future<dynamic>.value(),
|
||||
)
|
||||
as _i3.Future<dynamic>);
|
||||
|
||||
@override
|
||||
_i3.Future<dynamic> post(String? path, {dynamic data}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#post, [path], {#data: data}),
|
||||
returnValue: _i3.Future<dynamic>.value(),
|
||||
)
|
||||
as _i3.Future<dynamic>);
|
||||
|
||||
@override
|
||||
_i3.Future<dynamic> put(String? path, {dynamic data}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#put, [path], {#data: data}),
|
||||
returnValue: _i3.Future<dynamic>.value(),
|
||||
)
|
||||
as _i3.Future<dynamic>);
|
||||
|
||||
@override
|
||||
_i3.Future<dynamic> delete(String? path) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#delete, [path]),
|
||||
returnValue: _i3.Future<dynamic>.value(),
|
||||
)
|
||||
as _i3.Future<dynamic>);
|
||||
}
|
||||
Reference in New Issue
Block a user