Beispiel #1
0
        public void GetDeductedBalance_GivenBalanceAndAmount_DeductsAmountFromBalance()
        {
            //Arrange
            var calculationService = new CalculationService();

            //Act
            var deductedBalance = calculationService.GetDeductedBalance(3, 2);

            //Assert
            Assert.That(deductedBalance, Is.EqualTo(1));
        }