Example #1
0
        public void TeaSetpowder_ShouldReturn_Step4Adding15GramsOfPowder()
        {
            Tea tea = new Tea();

            tea.CreateBeverage();
            string str = tea.SetPowderQuantity();

            Assert.Equal("Step 4 : Adding 20 Grams of tea powder", str);
        }
Example #2
0
        public void TeaSetsugar_ShouldReturn_Step3AddingSugar()
        {
            Tea tea = new Tea();

            tea.CreateBeverage();
            string str = tea.SetSugar();

            Assert.Equal("Step 3 : Adding Sugar", str);
        }
Example #3
0
        public void TeaSetWater_ShouldReturn_Step1BoilingWater()
        {
            Tea tea = new Tea();

            tea.CreateBeverage();
            string str = tea.SetWater();

            Assert.Equal("Step 1 : Boiling water", str);
        }
Example #4
0
        public void TeaSetMilk_ShouldReturn_Step2AddingMilk()
        {
            Tea tea = new Tea();

            tea.CreateBeverage();
            string str = tea.SetMilk();

            Assert.Equal("Step 2 : Adding milk", str);
        }
Example #5
0
        public void TeaSetBevergeName_ShouldReturn_Tea()
        {
            Tea tea = new Tea();

            tea.CreateBeverage();
            string str = tea.SetBeverageType();

            Assert.Equal("Tea", str);
        }