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