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