anchor.diff:        dataProvider = new DataProviderMock();
         _generator = new Mock()
             ..when(callsTo("handle")).alwaysReturn(dataProvider);
  -       generator = (args) => _generator.handle(args);
       });
   
       test("publish collection.", () {
  
positive.code:     Map request, args;
      var _id, data, author;
      DataProviderMock dataProvider;
      generatorType generator;
      var _generator;
  
      void verifyGeneratorCalledOnceWithArgs(args) {
        _generator.getLogs().verify(happenedOnce);
  
negative.code: }
  class FutureMock extends Mock implements Future {}
  
  void main() {
    group("Publisher", () {
  
  