// Mocks generated by Mockito 5.2.0 from annotations
// in playground_components/test/src/controllers/example_loaders/examples_loader_test.dart.
// Do not manually edit this file.

// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i14;
import 'dart:ui' as _i15;

import 'package:mockito/mockito.dart' as _i1;
import 'package:playground_components/src/cache/example_cache.dart' as _i2;
import 'package:playground_components/src/controllers/example_loaders/examples_loader.dart'
    as _i3;
import 'package:playground_components/src/controllers/playground_controller.dart'
    as _i10;
import 'package:playground_components/src/controllers/snippet_editing_controller.dart'
    as _i5;
import 'package:playground_components/src/models/category_with_examples.dart'
    as _i16;
import 'package:playground_components/src/models/example.dart' as _i9;
import 'package:playground_components/src/models/example_base.dart' as _i8;
import 'package:playground_components/src/models/example_loading_descriptors/example_loading_descriptor.dart'
    as _i13;
import 'package:playground_components/src/models/example_loading_descriptors/examples_loading_descriptor.dart'
    as _i7;
import 'package:playground_components/src/models/example_loading_descriptors/user_shared_example_loading_descriptor.dart'
    as _i6;
import 'package:playground_components/src/models/loading_status.dart' as _i17;
import 'package:playground_components/src/models/outputs.dart' as _i11;
import 'package:playground_components/src/models/sdk.dart' as _i12;
import 'package:playground_components/src/models/shortcut.dart' as _i4;
import 'package:playground_components/src/models/snippet_file.dart' as _i18;

// 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

class _FakeExampleCache_0 extends _i1.Fake implements _i2.ExampleCache {}

class _FakeExamplesLoader_1 extends _i1.Fake implements _i3.ExamplesLoader {}

class _FakeBeamShortcut_2 extends _i1.Fake implements _i4.BeamShortcut {}

class _FakeSnippetEditingController_3 extends _i1.Fake
    implements _i5.SnippetEditingController {}

class _FakeUserSharedExampleLoadingDescriptor_4 extends _i1.Fake
    implements _i6.UserSharedExampleLoadingDescriptor {}

class _FakeExamplesLoadingDescriptor_5 extends _i1.Fake
    implements _i7.ExamplesLoadingDescriptor {}

class _FakeExampleBase_6 extends _i1.Fake implements _i8.ExampleBase {}

class _FakeExample_7 extends _i1.Fake implements _i9.Example {}

/// A class which mocks [PlaygroundController].
///
/// See the documentation for Mockito's code generation for more information.
class MockPlaygroundController extends _i1.Mock
    implements _i10.PlaygroundController {
  MockPlaygroundController() {
    _i1.throwOnMissingStub(this);
  }

  @override
  _i2.ExampleCache get exampleCache => (super.noSuchMethod(
        Invocation.getter(#exampleCache),
        returnValue: _FakeExampleCache_0(),
      ) as _i2.ExampleCache);
  @override
  _i3.ExamplesLoader get examplesLoader => (super.noSuchMethod(
        Invocation.getter(#examplesLoader),
        returnValue: _FakeExamplesLoader_1(),
      ) as _i3.ExamplesLoader);
  @override
  _i11.OutputType get selectedOutputFilterType => (super.noSuchMethod(
        Invocation.getter(#selectedOutputFilterType),
        returnValue: _i11.OutputType.all,
      ) as _i11.OutputType);
  @override
  set selectedOutputFilterType(_i11.OutputType? _selectedOutputFilterType) =>
      super.noSuchMethod(
        Invocation.setter(
          #selectedOutputFilterType,
          _selectedOutputFilterType,
        ),
        returnValueForMissingStub: null,
      );
  @override
  String get outputResult => (super.noSuchMethod(
        Invocation.getter(#outputResult),
        returnValue: '',
      ) as String);
  @override
  set outputResult(String? _outputResult) => super.noSuchMethod(
        Invocation.setter(
          #outputResult,
          _outputResult,
        ),
        returnValueForMissingStub: null,
      );
  @override
  _i4.BeamShortcut get runShortcut => (super.noSuchMethod(
        Invocation.getter(#runShortcut),
        returnValue: _FakeBeamShortcut_2(),
      ) as _i4.BeamShortcut);
  @override
  set runShortcut(_i4.BeamShortcut? _runShortcut) => super.noSuchMethod(
        Invocation.setter(
          #runShortcut,
          _runShortcut,
        ),
        returnValueForMissingStub: null,
      );
  @override
  _i4.BeamShortcut get resetShortcut => (super.noSuchMethod(
        Invocation.getter(#resetShortcut),
        returnValue: _FakeBeamShortcut_2(),
      ) as _i4.BeamShortcut);
  @override
  set resetShortcut(_i4.BeamShortcut? _resetShortcut) => super.noSuchMethod(
        Invocation.setter(
          #resetShortcut,
          _resetShortcut,
        ),
        returnValueForMissingStub: null,
      );
  @override
  String get examplesTitle => (super.noSuchMethod(
        Invocation.getter(#examplesTitle),
        returnValue: '',
      ) as String);
  @override
  bool get isCodeRunning => (super.noSuchMethod(
        Invocation.getter(#isCodeRunning),
        returnValue: false,
      ) as bool);
  @override
  bool get isExampleChanged => (super.noSuchMethod(
        Invocation.getter(#isExampleChanged),
        returnValue: false,
      ) as bool);
  @override
  bool get graphAvailable => (super.noSuchMethod(
        Invocation.getter(#graphAvailable),
        returnValue: false,
      ) as bool);
  @override
  List<_i4.BeamShortcut> get shortcuts => (super.noSuchMethod(
        Invocation.getter(#shortcuts),
        returnValue: <_i4.BeamShortcut>[],
      ) as List<_i4.BeamShortcut>);
  @override
  bool get hasListeners => (super.noSuchMethod(
        Invocation.getter(#hasListeners),
        returnValue: false,
      ) as bool);
  @override
  _i5.SnippetEditingController requireSnippetEditingController() =>
      (super.noSuchMethod(
        Invocation.method(
          #requireSnippetEditingController,
          [],
        ),
        returnValue: _FakeSnippetEditingController_3(),
      ) as _i5.SnippetEditingController);
  @override
  void setEmptyIfNoSdk(_i12.Sdk? sdk) => super.noSuchMethod(
        Invocation.method(
          #setEmptyIfNoSdk,
          [sdk],
        ),
        returnValueForMissingStub: null,
      );
  @override
  void setEmptyIfNotExists(
    _i12.Sdk? sdk, {
    bool? setCurrentSdk,
  }) =>
      super.noSuchMethod(
        Invocation.method(
          #setEmptyIfNotExists,
          [sdk],
          {#setCurrentSdk: setCurrentSdk},
        ),
        returnValueForMissingStub: null,
      );
  @override
  void setExample(
    _i9.Example? example, {
    _i13.ExampleLoadingDescriptor? descriptor,
    bool? setCurrentSdk,
  }) =>
      super.noSuchMethod(
        Invocation.method(
          #setExample,
          [example],
          {
            #descriptor: descriptor,
            #setCurrentSdk: setCurrentSdk,
          },
        ),
        returnValueForMissingStub: null,
      );
  @override
  void setSdk(
    _i12.Sdk? sdk, {
    bool? notify = true,
  }) =>
      super.noSuchMethod(
        Invocation.method(
          #setSdk,
          [sdk],
          {#notify: notify},
        ),
        returnValueForMissingStub: null,
      );
  @override
  void setSelectedOutputFilterType(_i11.OutputType? type) => super.noSuchMethod(
        Invocation.method(
          #setSelectedOutputFilterType,
          [type],
        ),
        returnValueForMissingStub: null,
      );
  @override
  void setOutputResult(String? outputs) => super.noSuchMethod(
        Invocation.method(
          #setOutputResult,
          [outputs],
        ),
        returnValueForMissingStub: null,
      );
  @override
  void clearOutput() => super.noSuchMethod(
        Invocation.method(
          #clearOutput,
          [],
        ),
        returnValueForMissingStub: null,
      );
  @override
  void reset() => super.noSuchMethod(
        Invocation.method(
          #reset,
          [],
        ),
        returnValueForMissingStub: null,
      );
  @override
  void resetError() => super.noSuchMethod(
        Invocation.method(
          #resetError,
          [],
        ),
        returnValueForMissingStub: null,
      );
  @override
  void setPipelineOptions(String? options) => super.noSuchMethod(
        Invocation.method(
          #setPipelineOptions,
          [options],
        ),
        returnValueForMissingStub: null,
      );
  @override
  void runCode({void Function()? onFinish}) => super.noSuchMethod(
        Invocation.method(
          #runCode,
          [],
          {#onFinish: onFinish},
        ),
        returnValueForMissingStub: null,
      );
  @override
  _i14.Future<void> cancelRun() => (super.noSuchMethod(
        Invocation.method(
          #cancelRun,
          [],
        ),
        returnValue: Future<void>.value(),
        returnValueForMissingStub: Future<void>.value(),
      ) as _i14.Future<void>);
  @override
  void filterOutput(_i11.OutputType? type) => super.noSuchMethod(
        Invocation.method(
          #filterOutput,
          [type],
        ),
        returnValueForMissingStub: null,
      );
  @override
  _i14.Future<_i6.UserSharedExampleLoadingDescriptor> saveSnippet() =>
      (super.noSuchMethod(
        Invocation.method(
          #saveSnippet,
          [],
        ),
        returnValue: Future<_i6.UserSharedExampleLoadingDescriptor>.value(
            _FakeUserSharedExampleLoadingDescriptor_4()),
      ) as _i14.Future<_i6.UserSharedExampleLoadingDescriptor>);
  @override
  _i7.ExamplesLoadingDescriptor getLoadingDescriptor() => (super.noSuchMethod(
        Invocation.method(
          #getLoadingDescriptor,
          [],
        ),
        returnValue: _FakeExamplesLoadingDescriptor_5(),
      ) as _i7.ExamplesLoadingDescriptor);
  @override
  void addListener(_i15.VoidCallback? listener) => super.noSuchMethod(
        Invocation.method(
          #addListener,
          [listener],
        ),
        returnValueForMissingStub: null,
      );
  @override
  void removeListener(_i15.VoidCallback? listener) => super.noSuchMethod(
        Invocation.method(
          #removeListener,
          [listener],
        ),
        returnValueForMissingStub: null,
      );
  @override
  void dispose() => super.noSuchMethod(
        Invocation.method(
          #dispose,
          [],
        ),
        returnValueForMissingStub: null,
      );
  @override
  void notifyListeners() => super.noSuchMethod(
        Invocation.method(
          #notifyListeners,
          [],
        ),
        returnValueForMissingStub: null,
      );
}

/// A class which mocks [ExampleCache].
///
/// See the documentation for Mockito's code generation for more information.
class MockExampleCache extends _i1.Mock implements _i2.ExampleCache {
  MockExampleCache() {
    _i1.throwOnMissingStub(this);
  }

  @override
  Map<_i12.Sdk, List<_i16.CategoryWithExamples>> get categoryListsBySdk =>
      (super.noSuchMethod(
        Invocation.getter(#categoryListsBySdk),
        returnValue: <_i12.Sdk, List<_i16.CategoryWithExamples>>{},
      ) as Map<_i12.Sdk, List<_i16.CategoryWithExamples>>);
  @override
  Map<_i12.Sdk, _i9.Example> get defaultExamplesBySdk => (super.noSuchMethod(
        Invocation.getter(#defaultExamplesBySdk),
        returnValue: <_i12.Sdk, _i9.Example>{},
      ) as Map<_i12.Sdk, _i9.Example>);
  @override
  bool get isSelectorOpened => (super.noSuchMethod(
        Invocation.getter(#isSelectorOpened),
        returnValue: false,
      ) as bool);
  @override
  set isSelectorOpened(bool? _isSelectorOpened) => super.noSuchMethod(
        Invocation.setter(
          #isSelectorOpened,
          _isSelectorOpened,
        ),
        returnValueForMissingStub: null,
      );
  @override
  _i14.Future<void> get allExamplesFuture => (super.noSuchMethod(
        Invocation.getter(#allExamplesFuture),
        returnValue: Future<void>.value(),
      ) as _i14.Future<void>);
  @override
  _i17.LoadingStatus get catalogStatus => (super.noSuchMethod(
        Invocation.getter(#catalogStatus),
        returnValue: _i17.LoadingStatus.loading,
      ) as _i17.LoadingStatus);
  @override
  bool get hasListeners => (super.noSuchMethod(
        Invocation.getter(#hasListeners),
        returnValue: false,
      ) as bool);
  @override
  _i14.Future<void> loadAllPrecompiledObjectsIfNot() => (super.noSuchMethod(
        Invocation.method(
          #loadAllPrecompiledObjectsIfNot,
          [],
        ),
        returnValue: Future<void>.value(),
        returnValueForMissingStub: Future<void>.value(),
      ) as _i14.Future<void>);
  @override
  List<_i16.CategoryWithExamples> getCategories(_i12.Sdk? sdk) =>
      (super.noSuchMethod(
        Invocation.method(
          #getCategories,
          [sdk],
        ),
        returnValue: <_i16.CategoryWithExamples>[],
      ) as List<_i16.CategoryWithExamples>);
  @override
  _i14.Future<_i8.ExampleBase> getPrecompiledObject(
    String? path,
    _i12.Sdk? sdk,
  ) =>
      (super.noSuchMethod(
        Invocation.method(
          #getPrecompiledObject,
          [
            path,
            sdk,
          ],
        ),
        returnValue: Future<_i8.ExampleBase>.value(_FakeExampleBase_6()),
      ) as _i14.Future<_i8.ExampleBase>);
  @override
  _i14.Future<_i9.Example> loadSharedExample(String? id) => (super.noSuchMethod(
        Invocation.method(
          #loadSharedExample,
          [id],
        ),
        returnValue: Future<_i9.Example>.value(_FakeExample_7()),
      ) as _i14.Future<_i9.Example>);
  @override
  _i14.Future<String> saveSnippet({
    List<_i18.SnippetFile>? files,
    _i12.Sdk? sdk,
    String? pipelineOptions,
  }) =>
      (super.noSuchMethod(
        Invocation.method(
          #saveSnippet,
          [],
          {
            #files: files,
            #sdk: sdk,
            #pipelineOptions: pipelineOptions,
          },
        ),
        returnValue: Future<String>.value(''),
      ) as _i14.Future<String>);
  @override
  _i14.Future<_i9.Example> loadExampleInfo(_i8.ExampleBase? example) =>
      (super.noSuchMethod(
        Invocation.method(
          #loadExampleInfo,
          [example],
        ),
        returnValue: Future<_i9.Example>.value(_FakeExample_7()),
      ) as _i14.Future<_i9.Example>);
  @override
  void setSelectorOpened(bool? value) => super.noSuchMethod(
        Invocation.method(
          #setSelectorOpened,
          [value],
        ),
        returnValueForMissingStub: null,
      );
  @override
  _i14.Future<_i9.Example?> getDefaultExampleBySdk(_i12.Sdk? sdk) =>
      (super.noSuchMethod(
        Invocation.method(
          #getDefaultExampleBySdk,
          [sdk],
        ),
        returnValue: Future<_i9.Example?>.value(),
      ) as _i14.Future<_i9.Example?>);
  @override
  _i14.Future<void> loadDefaultPrecompiledObjects() => (super.noSuchMethod(
        Invocation.method(
          #loadDefaultPrecompiledObjects,
          [],
        ),
        returnValue: Future<void>.value(),
        returnValueForMissingStub: Future<void>.value(),
      ) as _i14.Future<void>);
  @override
  _i14.Future<void> loadDefaultPrecompiledObjectsIfNot() => (super.noSuchMethod(
        Invocation.method(
          #loadDefaultPrecompiledObjectsIfNot,
          [],
        ),
        returnValue: Future<void>.value(),
        returnValueForMissingStub: Future<void>.value(),
      ) as _i14.Future<void>);
  @override
  _i14.Future<_i8.ExampleBase?> getCatalogExampleByPath(String? path) =>
      (super.noSuchMethod(
        Invocation.method(
          #getCatalogExampleByPath,
          [path],
        ),
        returnValue: Future<_i8.ExampleBase?>.value(),
      ) as _i14.Future<_i8.ExampleBase?>);
  @override
  void addListener(_i15.VoidCallback? listener) => super.noSuchMethod(
        Invocation.method(
          #addListener,
          [listener],
        ),
        returnValueForMissingStub: null,
      );
  @override
  void removeListener(_i15.VoidCallback? listener) => super.noSuchMethod(
        Invocation.method(
          #removeListener,
          [listener],
        ),
        returnValueForMissingStub: null,
      );
  @override
  void dispose() => super.noSuchMethod(
        Invocation.method(
          #dispose,
          [],
        ),
        returnValueForMissingStub: null,
      );
  @override
  void notifyListeners() => super.noSuchMethod(
        Invocation.method(
          #notifyListeners,
          [],
        ),
        returnValueForMissingStub: null,
      );
}
