Esempio n. 1
0
        public void When_SendCorrectStructure_Then_ReturnCorrectModel()
        {
            var surveyText = "M,26,biochemistry,2";
            var text       = SetNumberLine(1, surveyText);
            var surveys    = service.ToSurveys(text);

            surveys.Count().Should().Be(1);
            surveys.First().Should().BeEquivalentTo(surveyExpected);
        }
 public IQueryable <Survey> GetAll(string data)
 {
     return(_text2ListSurvey.ToSurveys(data));
 }