Esempio n. 1
0
 public void InsertNullProductWillThrow(ProductManagementService sut)
 {
     // Fixture setup
     // Exercise system and verify outcome
     Assert.Throws <ArgumentNullException>(() =>
                                           sut.InsertProduct(null));
     // Teardown
 }
 public void InsertNullProductWillThrow(ProductManagementService sut)
 {
     // Fixture setup
     // Exercise system and verify outcome
     Assert.Throws<ArgumentNullException>(() =>
         sut.InsertProduct(null));
     // Teardown
 }