anchor.diff:      Uri uri = Uri.parse('http://server/$api$path$query');
       path = '$api$path';
       var request =
  -    new HttpApiRequest(method, uri, headers, bodyStream, cookies: cookies);
  +        new HttpApiRequest(method, uri, headers, bodyStream, cookies: cookies);
       return _apiServer.handleHttpApiRequest(request);
     }
   
  
positive.code:       ..contentType = 'image/png'
        ..updated = file.lastModifiedSync()
        ..md5Hash = md5Hash
        ..metadata = {
          'description': 'logo'
        };
    }
  }
  
  
negative.code:     test('minmax-outside-range', () async {
        var body = {'aBoundedInt': 11};
        HttpApiResponse response =
            await _sendRequest('POST', 'post/minmax', body: body);
        expect(response.status, HttpStatus.BAD_REQUEST);
        expect(
            response.exception.toString(),
            'RPC Error with status: 400 and message: '
            'aBoundedInt needs to be <= 10');
      });
      test('minmax-invalid-type', () async {
        var body = {'aBoundedInt': 11};
        HttpApiResponse response =
            await _sendRequest('POST', 'post/minmax', body: [1, 2]);
        expect(response.status, HttpStatus.BAD_REQUEST);
        expect(
            response.exception.toString(),
            'RPC Error with status: 400 and message: '
            'Invalid parameter: \'[1, 2]\', should be an instance of type '
            '\'MinMaxIntMessage\'.');
      });
      test('minmax-no-request', () async {
        var body = {'aBoundedInt': 11};
        HttpApiResponse response =
            await _sendRequest('POST', 'post/minmax', body: 'empty');
        expect(response.status, HttpStatus.BAD_REQUEST);
        expect(
            response.exception.toString(),
            'RPC Error with status: 400 and message: '
            'Method \'minMaxPost\' requires an instance of MinMaxIntMessage. '
            'Passing the empty request is not supported.');
      });
      test('minmax-null', () async {
        var body = {'aBoundedInt': 11};
        HttpApiResponse response =
            await _sendRequest('POST', 'post/minmax', body: null);
        expect(response.status, HttpStatus.BAD_REQUEST);
        expect(
            response.exception.toString(),
            'RPC Error with status: 400 and message: Invalid parameter: '
            '\'null\', should be an instance of type \'MinMaxIntMessage\'.');
      });
      test('reverse-list', () async {
        var body = [1, 2, 3];
        HttpApiResponse response =
            await _sendRequest('POST', 'post/reverseList', body: body);
        expect(response.status, HttpStatus.OK);
        var resultBody = await _decodeBody(response.body);
        expect(resultBody, body.reversed.toList());
  