public void Projects_Get_All() { // Set test Get method w/o parameters request.Setup(m => m.Get <Response <IEnumerable <Project> > >("projects", null)).Returns(new Response <IEnumerable <Project> > { Data = new List <Project> { new Project { Id = 666 } } }); // Test Get method var result = projectsProxy.Get(); // Verify test Assert.IsNotNull(result); Assert.AreEqual(1, result.Data.Count()); Assert.IsTrue(result.IsSuccessful); Assert.AreEqual(666, result.Data.ElementAt(0).Id); }