public void VelociWrapShouldUpdateComponents()
        {
            VelociWrap dr = new VelociWrap();

            Assert.Equal(dr.Description, dr.ToString());
            dr.HoldDressing();
            dr.HoldLettuce();
            dr.HoldCheese();

            Assert.Collection <string>(dr.Special,
                                       item => { Assert.Equal("Hold Ceasar Dressing", item); },
                                       item => { Assert.Equal("Hold Romaine Lettuce", item); },
                                       item => { Assert.Equal("Hold Parmesan Cheese", item); }
                                       );
        }
Пример #2
0
        public void VelociWrapToStringShouldGiveName()
        {
            VelociWrap vw = new VelociWrap();

            Assert.Equal("Veloci-Wrap", vw.ToString());
        }
Пример #3
0
        public void CorrectDefaultToString()
        {
            VelociWrap v = new VelociWrap();

            Assert.Equal("Veloci-Wrap", v.ToString());
        }
Пример #4
0
        public void DescriptionMatchesToString()
        {
            VelociWrap vw = new VelociWrap();

            Assert.Equal(vw.Description, vw.ToString());
        }
Пример #5
0
        public void VelociWrapShouldHaveCorrectDescription()
        {
            VelociWrap dr = new VelociWrap();

            Assert.Equal(dr.Description, dr.ToString());
        }
Пример #6
0
        public void VelociWrapDescription()
        {
            VelociWrap vw = new VelociWrap();

            Assert.Equal("Veloci-Wrap", vw.ToString());
        }
Пример #7
0
        public void ShouldHaveCorrectToString()
        {
            VelociWrap vw = new VelociWrap();

            Assert.Equal("Veloci-Wrap", vw.ToString());
        }
Пример #8
0
        public void CorrectDescription()
        {
            VelociWrap vw = new VelociWrap();

            Assert.Equal(vw.ToString(), vw.Description);
        }