Пример #1
0
        public void PlanOneMealIdentifierEmpty()
        {
            var result = NextOrder.GetChoice(string.Empty, this.plan);

            Assert.IsNotNull(result);
            Assert.AreEqual(0, result.Count);
        }
Пример #2
0
        public void PlanEmptyIdentifierEmpty()
        {
            this.plan = new Plan();
            var result = NextOrder.GetChoice(string.Empty, this.plan);

            Assert.IsNotNull(result);
        }
Пример #3
0
        public void PlanOnlyNameIdentifierEmpty()
        {
            this.plan = new Plan();
            var planDay = new PlanDay()
            {
                Name = "Day1"
            };

            this.plan.Planday = new System.Collections.Generic.List <PlanDay>
            {
                planDay,
            };

            var result = NextOrder.GetChoice(string.Empty, this.plan);

            Assert.IsNotNull(result);
            Assert.AreEqual(0, result.Count);
        }
Пример #4
0
        public void PlanNullIdentifierEmpty()
        {
            var result = NextOrder.GetChoice(string.Empty, null);

            Assert.IsNotNull(result);
        }