public void GetCoursePromptsAlphabeticalList_calls_data_service() { // Given const string promptName = "Access Permissions"; var coursePrompts = new List <(int, string)> { (1, promptName) }; A.CallTo(() => courseAdminFieldsDataService.GetCoursePromptsAlphabetical()).Returns (coursePrompts); // When var result = courseAdminFieldsService.GetCoursePromptsAlphabeticalList(); // Then A.CallTo(() => courseAdminFieldsDataService.GetCoursePromptsAlphabetical()).MustHaveHappened(); result.Should().BeEquivalentTo(coursePrompts); }