示例#1
0
        public void GivenQuestionIdAndOptionId_WhenItIsValid_ThenReturnNextQuestionId()
        {
            int Actual   = 13;
            int expected = _option.FindWhere(12, 1).link_id;

            Assert.AreEqual(Actual, expected);
        }
示例#2
0
 public void GivenIds_ForQuestionRepoFindWhere_ThenNotImplementedException()
 {
     var expected = _question.FindWhere(1, 1);
 }
示例#3
0
 public void GivenIds_WhenMonitorRepoFindWhere_ThenNotImplementedException()
 {
     var expected = _monitor.FindWhere(1, 1);
 }
        public int GetLink(OptionsTbl options)
        {
            var OptRow = _option.FindWhere(options.question_id, options.option_id);

            return(OptRow.link_id);
        }