public void CanMapToSkillSuggestionModel() { string testQuery = "C"; List<string> hints = new List<string>(); var skillSuggestionModelExpected = new SkillSuggestionModel() { query = testQuery, suggestions = hints, }; var skillSuggestionModel = mappingService.MapToSkillSugestionModel(testQuery, hints); skillSuggestionModel.ShouldBeEquivalentTo(skillSuggestionModelExpected); }
public SkillSuggestionModel MapToSkillSugestionModel(string query, List<string> hints) { var skillSuggestionModel = new SkillSuggestionModel(query, hints); return skillSuggestionModel; }