Skip to content

Commit

Permalink
chore(init): update mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
d-loose committed Apr 12, 2024
1 parent 4b926ec commit 45d666d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions packages/ubuntu_init/test/init_model_test.mocks.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,30 @@ class MockArgResults extends _i1.Mock implements _i3.ArgResults {
[name],
));

@override
bool flag(String? name) => (super.noSuchMethod(
Invocation.method(
#flag,
[name],
),
returnValue: false,
) as bool);

@override
String? option(String? name) => (super.noSuchMethod(Invocation.method(
#option,
[name],
)) as String?);

@override
List<String> multiOption(String? name) => (super.noSuchMethod(
Invocation.method(
#multiOption,
[name],
),
returnValue: <String>[],
) as List<String>);

@override
bool wasParsed(String? name) => (super.noSuchMethod(
Invocation.method(
Expand Down

0 comments on commit 45d666d

Please sign in to comment.