Ejemplo n.º 1
0
        public void GivenQuestionId_WhenItIsValid_ThenDisplayCorrectQuestion()
        {
            QuestionRepository m        = new QuestionRepository();
            string             Actual   = "Do you want a monitor with cable or cableless?";
            string             expected = m.DataFetch(2);

            Assert.AreEqual(Actual, expected);
        }
Ejemplo n.º 2
0
        public void GivenQuestionId_WhenItIsValid_ThenDisplayCorrectQuestion2()
        {
            QuestionRepository m        = new QuestionRepository();
            string             Actual   = "Select one of the required features from the following options.";
            string             expected = m.DataFetch(14);

            Assert.AreEqual(Actual, expected);
        }