Exemple #1
0
        public void CheckCanBuy_throws_ApplicationException_for_null_gender()
        {
            // Arrange
            _client.Gender = null;
            var amount = 60;

            // Act, Assert
            Assert.Throws <ApplicationException>(() => _client.CheckCanBuy(amount));
        }