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