示例#1
0
 public void Register_ActionNull_ThrowsArgumentNullException()
 {
     ExceptionAssert.CatchArgumentNullException(() =>
     {
         ThreadDomain.Register(typeof(Int32), null);
     },
                                                "creator");
 }
示例#2
0
 public void Register_TypeNull_ThrowsArgumentNullException()
 {
     ExceptionAssert.CatchArgumentNullException(() =>
     {
         ThreadDomain.Register(null, null);
     },
                                                "type");
 }