Esempio n. 1
0
        public void IfYouDoNotHaveEnoughMoneyThrowError()
        {
            var purse = new CoinPurse(3923);

            Assert.Throws <InsufficientFundsException>(() => purse.Spend(484234));
        }