public static unsafe void AssertThreadTest() { Assert.That(() => AssertionUtilities.AssertThread(Thread.CurrentThread), Throws.Nothing ); Assert.That(() => AssertionUtilities.AssertThread(null !), Configuration.AssertionsEnabled ? Throws.Exception : Throws.Nothing ); }