| Index: pkg/typed_mock/test/typed_mock_test.dart
|
| diff --git a/pkg/typed_mock/test/typed_mock_test.dart b/pkg/typed_mock/test/typed_mock_test.dart
|
| index 9585673bc62ef5b9f185b84e953da9a0a73e91d1..22bddd998ffc68871e4dddbfe292605e62857a4e 100644
|
| --- a/pkg/typed_mock/test/typed_mock_test.dart
|
| +++ b/pkg/typed_mock/test/typed_mock_test.dart
|
| @@ -4,7 +4,6 @@ import 'package:unittest/unittest.dart';
|
|
|
| import 'package:typed_mock/typed_mock.dart';
|
|
|
| -
|
| abstract class TestInterface {
|
| int get testProperty;
|
| set testProperty(x);
|
| @@ -16,12 +15,10 @@ abstract class TestInterface {
|
| int operator [](index);
|
| }
|
|
|
| -
|
| class TestInterfaceMock extends TypedMock implements TestInterface {
|
| noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
|
| }
|
|
|
| -
|
| main() {
|
| // lets make it redable
|
| groupSep = ' | ';
|
| @@ -231,11 +228,11 @@ main() {
|
| verify(obj.testProperty).times(2);
|
| });
|
|
|
| - test('OK, void method', () {
|
| - obj.testMethodVoid(10);
|
| - obj.testMethodVoid(20);
|
| - verify(obj.testMethodVoid(anyInt)).times(2);
|
| - });
|
| + test('OK, void method', () {
|
| + obj.testMethodVoid(10);
|
| + obj.testMethodVoid(20);
|
| + verify(obj.testMethodVoid(anyInt)).times(2);
|
| + });
|
|
|
| test('mismatch, getter', () {
|
| obj.testProperty;
|
|
|