mirrored_repositories/pokedex_flutter/test/domain
// Mocks generated by Mockito 5.4.0 from annotations
// in pokedex/test/domain/usecases/pokemon_usecase_test.dart.
// Do not manually edit this file.

// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i5;

import 'package:dartz/dartz.dart' as _i3;
import 'package:mockito/mockito.dart' as _i1;
import 'package:pokedex/data/datasource/pokemon_remote_datasource.dart' as _i2;
import 'package:pokedex/data/models/pokemon_model.dart' as _i7;
import 'package:pokedex/data/repositories/pokemon_repo_impl.dart' as _i4;
import 'package:pokedex/domain/failures/failure.dart' as _i6;

// 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 _FakePokemonRemoteDatasource_0 extends _i1.SmartFake
    implements _i2.PokemonRemoteDatasource {
  _FakePokemonRemoteDatasource_0(
    Object parent,
    Invocation parentInvocation,
  ) : super(
          parent,
          parentInvocation,
        );
}

class _FakeEither_1<L, R> extends _i1.SmartFake implements _i3.Either<L, R> {
  _FakeEither_1(
    Object parent,
    Invocation parentInvocation,
  ) : super(
          parent,
          parentInvocation,
        );
}

/// A class which mocks [PokemonRepoImpl].
///
/// See the documentation for Mockito's code generation for more information.
class MockPokemonRepoImpl extends _i1.Mock implements _i4.PokemonRepoImpl {
  @override
  _i2.PokemonRemoteDatasource get pokemonRemoteDatasource =>
      (super.noSuchMethod(
        Invocation.getter(#pokemonRemoteDatasource),
        returnValue: _FakePokemonRemoteDatasource_0(
          this,
          Invocation.getter(#pokemonRemoteDatasource),
        ),
        returnValueForMissingStub: _FakePokemonRemoteDatasource_0(
          this,
          Invocation.getter(#pokemonRemoteDatasource),
        ),
      ) as _i2.PokemonRemoteDatasource);
  @override
  _i5.Future<
      _i3
          .Either<_i6.Failure, List<_i7.PokemonModel>>> getListPokemon() =>
      (super.noSuchMethod(
        Invocation.method(
          #getListPokemon,
          [],
        ),
        returnValue:
            _i5.Future<_i3.Either<_i6.Failure, List<_i7.PokemonModel>>>.value(
                _FakeEither_1<_i6.Failure, List<_i7.PokemonModel>>(
          this,
          Invocation.method(
            #getListPokemon,
            [],
          ),
        )),
        returnValueForMissingStub:
            _i5.Future<_i3.Either<_i6.Failure, List<_i7.PokemonModel>>>.value(
                _FakeEither_1<_i6.Failure, List<_i7.PokemonModel>>(
          this,
          Invocation.method(
            #getListPokemon,
            [],
          ),
        )),
      ) as _i5.Future<_i3.Either<_i6.Failure, List<_i7.PokemonModel>>>);
  @override
  _i5.Future<_i3.Either<_i6.Failure, _i7.PokemonModel>> getPokemon(int? id) =>
      (super.noSuchMethod(
        Invocation.method(
          #getPokemon,
          [id],
        ),
        returnValue:
            _i5.Future<_i3.Either<_i6.Failure, _i7.PokemonModel>>.value(
                _FakeEither_1<_i6.Failure, _i7.PokemonModel>(
          this,
          Invocation.method(
            #getPokemon,
            [id],
          ),
        )),
        returnValueForMissingStub:
            _i5.Future<_i3.Either<_i6.Failure, _i7.PokemonModel>>.value(
                _FakeEither_1<_i6.Failure, _i7.PokemonModel>(
          this,
          Invocation.method(
            #getPokemon,
            [id],
          ),
        )),
      ) as _i5.Future<_i3.Either<_i6.Failure, _i7.PokemonModel>>);
}
