public void GetCustomPromptsAlphabetical_should_contain_a_custom_prompt() { // When var result = centreRegistrationPromptsDataService.GetCustomPromptsAlphabetical().ToList(); // Then result.Contains((1, "Department / team")).Should().BeTrue(); }
public void GetCentreRegistrationPromptsAlphabeticalList_calls_data_service() { // Given const string promptName = "Department / team"; A.CallTo(() => centreRegistrationPromptsDataService.GetCustomPromptsAlphabetical()).Returns (new List <(int, string)> { (1, promptName) });
public List <(int id, string value)> GetCentreRegistrationPromptsAlphabeticalList() { return(centreRegistrationPromptsDataService.GetCustomPromptsAlphabetical().ToList()); }