public static void That(Expression <Func <bool> > assertion, object message, Expression <Func <object> > context) { var exception = AssertImpl.That(assertion, message, context); if (exception != null) { throw exception; } }
public static void That(Expression <Func <bool> > assertion) { var exception = AssertImpl.That(assertion, null, null); if (exception != null) { throw exception; } }
public static void Assert(Expression <Func <bool> > assertion, object message) { var exception = AssertImpl.That(assertion, message, null); if (exception != null) { throw exception; } }