public void Incidents_Update() { var anIncident = new Item { Id = 1234 }; // Set test Create method w/o parameters request.Setup(m => m.Post <Response <Item> >("incidents/1234", new ItemRequest { Item = anIncident }, null)).Returns(new Response <Item> { Data = anIncident }); // Test Get method var result = incidentsProxy.Update(anIncident); // Verify test Assert.IsNotNull(result); Assert.IsTrue(result.IsSuccessful); Assert.AreEqual(1234, result.Data.Id); }