public void Register_ActionNull_ThrowsArgumentNullException() { ExceptionAssert.CatchArgumentNullException(() => { ThreadDomain.Register(typeof(Int32), null); }, "creator"); }
public void Register_TypeNull_ThrowsArgumentNullException() { ExceptionAssert.CatchArgumentNullException(() => { ThreadDomain.Register(null, null); }, "type"); }