use mokito in the init tests

This commit is contained in:
Devon Carew
2015-09-11 16:12:27 -07:00
parent ab441685e2
commit e6b45c5023
4 changed files with 26 additions and 29 deletions

View File

@@ -0,0 +1,12 @@
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:args/args.dart';
import 'package:mockito/mockito.dart';
@proxy
class MockArgResults extends Mock implements ArgResults {
@override
dynamic noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
}