anchor.diff:          });
         }
   
  -      MockClient mockClient = new MockClient.streaming(streamHandler);
  -
  -      Future<http.BaseResponse> sendAuthorisedRequest(http.BaseRequest request) {
  -        return mockClient.send(request);
  -      }
  -
  -      var connection = new Connection('proj_id', sendAuthorisedRequest);
  +      var connection = new Connection(
  +          'proj_id',
  +          new MockClient.streaming(streamHandler)
  +      );
   
         var obj = new StorageObject("bucket", "object")
             ..metadata['hello'] = 'world';
  
positive.code: 
        var connection = new Connection(
            'proj_id',
            (http.BaseRequest request) {
              return new MockClient.streaming(streamHandler).send(request);
            }
        );
  
        //connection.logger.onRecord.listen(print);
  
negative.code: 
      var connection = new Connection(
          'proj_id',
          new MockClient.streaming(streamHandler)
      );
  
      connection.logger.onRecord.listen(print);
  