Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public SkillSuggestionModel MapToSkillSugestionModel(string query, List<string> hints)
 {
     var skillSuggestionModel = new SkillSuggestionModel(query, hints);
     return skillSuggestionModel;
 }