| Index: pkg/unittest/lib/mock.dart
|
| diff --git a/pkg/unittest/lib/mock.dart b/pkg/unittest/lib/mock.dart
|
| index 9ee6d8a80ce0479a40c6fc4258538304a9822e53..cacaec724499b2a48715db7c4ad686ed897e1445 100644
|
| --- a/pkg/unittest/lib/mock.dart
|
| +++ b/pkg/unittest/lib/mock.dart
|
| @@ -5,6 +5,21 @@
|
| /**
|
| * A simple mocking/spy library.
|
| *
|
| + * ## Installing ##
|
| + *
|
| + * Use [pub][] to install this package. Add the following to your `pubspec.yaml`
|
| + * file.
|
| + *
|
| + * dependencies:
|
| + * mock: any
|
| + *
|
| + * Then run `pub install`.
|
| + *
|
| + * For more information, see the
|
| + * [mock package on pub.dartlang.org](http://pub.dartlang.org/packages/mock).
|
| + *
|
| + * ## Using ##
|
| + *
|
| * To create a mock objects for some class T, create a new class using:
|
| *
|
| * class MockT extends Mock implements T {};
|
| @@ -87,6 +102,7 @@
|
| * }
|
| * }
|
| *
|
| + * [pub]: http://pub.dartlang.org
|
| */
|
|
|
| library mock;
|
|
|