anchor.diff:      }, count: 2));
       controller.add(testGetReq);
       controller.add(testPostReq);
  -    
  +
     });
  -  
  +
     test('serve 1', () {
       var controller = new StreamController<HttpRequest>();
       var router = new Router(controller.stream);
  -    var testReq = new HttpRequestMock(new Uri('/foo'));
  +    var testReq = new HttpRequestMock(Uri.parse('/foo'));
       router.serve('/foo').listen(expectAsync1((req) {
         expect(req, testReq);
       }));
  
positive.code:   test('default', () {
      var controller = new StreamController<HttpRequest>();
      var router = new Router(controller.stream);
      var testReq = new HttpRequestMock(new Uri('/bar'));
      testReq.response._onClose = expectAsync0(() {
        expect(testReq.response.statusCode, 200);
      });
  
negative.code: import 'dart:async';
  import 'dart:collection';
  import 'dart:io';
  
  class HttpRequestMock extends Mock implements HttpRequest {
    Uri uri;
    String method;
    HttpResponseMock response = new HttpResponseMock();
  
    HttpRequestMock(this.uri, {this.method});
  }
  
  class HttpResponseMock extends Mock implements HttpResponse {
    int statusCode;
    var _onClose;
  
    Future close() {
      if (_onClose != null) {
        _onClose();
      }
      return new Future.value();
    }
  }
  
  