public static void Range_DoesNotThrow_ForTrue_1() => Enforce.Range(true, "paramName");
public static void Range_DoesNotThrow_ForTrue_2() => Enforce.Range(true, "paramName", "My message");
public static void NotWhiteSpace_DoesNotThrow_ForNonWhiteSpaceString() => Enforce.NotWhiteSpace("Whatever", "paramName");
public static void State_ThrowsInvalidOperationException_ForFalse_1() => Assert.Throws <InvalidOperationException>(() => Enforce.State(false));
public static void NotWhiteSpace_DoesNotThrow_ForNull() => Enforce.NotWhiteSpace(null, "paramName");
public static void NotWhiteSpace_DoesNotThrow_ForEmptyString() => Enforce.NotWhiteSpace(String.Empty, "paramName");
public static void State_DoesNotThrow_ForTrue_2() => Enforce.State(true, "My message");
public static void NotWhiteSpace_ThrowsArgumentException_ForWhiteSpaceOnlyString() => Assert.Throws <ArgumentException>(() => Enforce.NotWhiteSpace(My.WhiteSpaceOnlyString, "paramName"));
public static void Range_ThrowsArgumentOutOfRangeException_ForOutOfRangeValue_DegenerateRange_2() => Assert.Throws <ArgumentOutOfRangeException>( () => Enforce.Range(s_ValueAbove, s_MinValue, s_MinValue, "paramName"));
public static void Range_DoesNotThrow_ForInRangeValue_DegenerateRange() => Enforce.Range(s_MinValue, s_MinValue, s_MinValue, "paramName");
public static void Range_ThrowsArgumentOutOfRangeException_InvalidRange(My.ComparableStruct value) => Assert.Throws <ArgumentOutOfRangeException>( () => Enforce.Range(value, s_MaxValue, s_MinValue, "paramName"));
public static void State_DoesNotThrow_ForTrue_1() => Enforce.State(true);
public static void Range_DoesNotThrow_ForInRangeValue(My.ComparableStruct value) => Enforce.Range(value, s_MinValue, s_MaxValue, "paramName");