public void CreateProductName()
        {
            // arrange
            var expected = "Product Name";

            // act
            var productName = new ProductName(expected);

            // assert
            Assert.Equal(expected, productName.ToString());
        }
Exemple #2
0
 public static Product CreateProduct(Guid id, ProductId productId, ProductName name)
 {
     return new Product(id, productId, name);
 }