public void Get() { var repo = new HttpObjectService("unittests", _objectFixture.ClientFactory, _objectFixture.Logger); ServiceResult <string> result = repo.GetAsync("bookstore", "customer", "1").Result; string customerResult = result.Value; Customer customer = Newtonsoft.Json.JsonConvert.DeserializeObject <Customer>(customerResult); Assert.Equal((int)HttpStatusCode.OK, result.Status); Assert.Equal("John", customer.FirstName); Assert.Equal("Smith", customer.LastName); Assert.Equal(32, customer.Age); Assert.Equal("Object", result.ServiceName); }