예제 #1
0
        public void DrinkCoffeeWithNullOrEmptyId_Throws_NewException()
        {
            var ex = Assert.Throws <Exception>(() => coffeeService.DrinkCoffee(Guid.Empty));

            Assert.AreEqual(ex.Message, "Please provide an ID!");
        }