public void GetTroubleshooterStep(int troubleshooterStepId) { var apiMethod = string.Format("/Troubleshooter/Step/{0}", troubleshooterStepId); _kayakoApiRequest.Setup(x => x.ExecuteGet <TroubleshooterStepCollection>(apiMethod)).Returns(_responseTroubleshooterStepCollection); var troubleshooterStep = _troubleshooterController.GetTroubleshooterStep(troubleshooterStepId); _kayakoApiRequest.Verify(x => x.ExecuteGet <TroubleshooterStepCollection>(apiMethod), Times.Once()); Assert.That(troubleshooterStep, Is.EqualTo(_responseTroubleshooterStepCollection.First())); }