Exemple #1
0
        public void PlanOneMealIdentifierEmpty()
        {
            var result = NextOrder.GetChoice(string.Empty, this.plan);

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

            Assert.IsNotNull(result);
        }
Exemple #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);
        }
Exemple #4
0
        public void PlanNullIdentifierEmpty()
        {
            var result = NextOrder.GetChoice(string.Empty, null);

            Assert.IsNotNull(result);
        }