NUnit.Framework.Assert.That(TActual, NUnit.Framework.Constraints.IResolveConstraint, System.Func)

Here are the examples of the csharp api class NUnit.Framework.Assert.That(TActual, NUnit.Framework.Constraints.IResolveConstraint, System.Func) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

3 Examples 7

1. Example

Project: msgpack-cli
Source File: Assert.That.cs
View license
public static void That(Func<bool> condition, Func<string> getExceptionMessage)
        {
            Assert.That(condition.Invoke(), Is.True, getExceptionMessage);
        }

2. Example

Project: msgpack-cli
Source File: Assert.That.cs
View license
public static void That(Func<bool> condition, string message, params object[] args)
        {
            Assert.That(condition.Invoke(), Is.True, message, args);
        }

3. Example

Project: msgpack-cli
Source File: Assert.That.cs
View license
public static void That(Func<bool> condition)
        {
            Assert.That(condition.Invoke(), Is.True, null, null);
        }