Esempio n. 1
0
        public void Given_GettingProductName_When_GetNameIsCalled_Then_NameShouldBeCorrect()
        {
            // Arrange
            Product product  = new Product(1, "Pizza", "ala", new DateTime(), new DateTime(), 100, 20);
            String  testName = "Pizza";

            // Act && Assert
            product.GetName().Should().Be(testName);
        }