public async Task Does_send_version_using_JsonHttpClient() { var client = new JsonHttpClient(Config.AbsoluteBaseUri); var response = client.Send(new RequestWithVersion { Version = 1 }); Assert.That(response.Version, Is.EqualTo(1)); response = await client.SendAsync(new RequestWithVersion { Version = 1 }); Assert.That(response.Version, Is.EqualTo(1)); client.Version = 1; response = client.Send(new RequestWithVersion()); Assert.That(response.Version, Is.EqualTo(1)); response = await client.SendAsync(new RequestWithVersion()); Assert.That(response.Version, Is.EqualTo(1)); }