Example #1
0
        public void Given_ProductEntityAndProductLogic_When_CallingComputeVAT_Then_ReturnTheProductPriceWithTheVATComputed()
        {
            //Arrange
            var productLogic = new ProductLogic(productEntity);

            //Act
            var productWithVat = productLogic.ComputeVAT();

            //Assert
            productWithVat.Should().BeGreaterThan(productEntity.Price);
        }