public void Test2() { var product = new Product("NA","Pillow",100); //test if product is 0 for price Assert.Throws<InvalidOperationException>( ()=>product.price(0,"No Price") );
public void Test2() { var product = new Product("NA","Pillow",100); //test if product is 0 for price Assert.Throws<InvalidOperationException>( ()=>product.price(0,"No Price") );