示例#1
0
 public void GetAllProducts_Exception()
 {
     try
     {
         BaseData.GetAllProducts();
     }
     catch (BaseDataMethod e)
     {
         Assert.Equal(e.Message, BaseDataMethod.eMessage);
     }
 }