public void GetCourseAdminFieldsAlphabeticalList_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.GetCourseAdminFieldsAlphabeticalList(); // Then A.CallTo(() => courseAdminFieldsDataService.GetCoursePromptsAlphabetical()).MustHaveHappened(); result.Should().BeEquivalentTo(coursePrompts); }