public void CreateProductName() { // arrange var expected = "Product Name"; // act var productName = new ProductName(expected); // assert Assert.Equal(expected, productName.ToString()); }
public static Product CreateProduct(Guid id, ProductId productId, ProductName name) { return new Product(id, productId, name); }