public void Release_Create() { var aProject = new Release { Id = 0 }; // Set test Create method w/o parameters request.Setup(m => m.Post <Response <Release> >("releases", aProject, null)).Returns(new Response <Release> { Data = new Release { Id = 1234 } }); // Test Get method var result = releasesProxy.Create(aProject); // Verify test Assert.IsNotNull(result); Assert.IsTrue(result.IsSuccessful); Assert.AreEqual(1234, result.Data.Id); }