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