Exemplo n.º 1
0
 public void TestMethod3()
 {
     try
     {
         EnumHelper.CheckEnum("DwrUtility.Test");
         Assert.IsTrue(false, "枚举有重复值");
     }
     catch (Exception ex)
     {
         Assert.IsTrue(true, ex.Message);
     }
 }