public static void AssertTest() { Assert.That(() => AssertionUtilities.Assert(false), Configuration.AssertionsEnabled ? Throws.Exception : Throws.Nothing ); Assert.That(() => AssertionUtilities.Assert(true), Throws.Nothing ); }