public void Attachments_Get_ById_NoParameters() { // Set test Get method w/o parameters request.Setup(m => m.Get <Response <Attachment> >("attachments/666", null)).Returns(new Response <Attachment> { Data = new Attachment { Id = 666 } }); // Test Get method var result = attachmentsProxy.Get(666); // Verify test Assert.IsNotNull(result); Assert.IsTrue(result.IsSuccessful); Assert.AreEqual(666, result.Data.Id); }