示例#1
0
        public void Divide_CalculatorIsEmpty_throwDivideByZeroException()
        {
            var calc = new Calculator();

            Assert.That(() => calc.Divide(), Throws.InstanceOf(typeof(DivideByZeroException)));
        }