private void WhenThereAreValidSpeakers() { _speakers = DomainData.GenerateSpeakers(new int[] { 1, 2, 3, }, new string[] { "John", "Josh", "Joe" }); _httpHelper.Setup(m => m.FetchSpeakers()).Returns(Task.FromResult(_speakers)); }
private void WhenThereAreValidSpeakers() { _speakers = DomainData.GenerateSpeakers(new int[] { 1, 2, 3, }, new string[] { "John", "Josh", "Joe" }); _httpHelper.Setup(m => m.FetchSpeakers()).Returns(Task.FromResult(_speakers)); }