NUnit.Framework
AssertionHelper
Expect
NUnit.Framework.AssertionHelper.Expect Method
Asserts that a condition is true. If the condition is false the method throws an
NUnit.Framework.AssertionException
. Works Identically to
Assert.That(bool, string)
.
Syntax
public
void
Expect
(
bool
condition,
string
message)
Parameters
condition
The evaluated condition
message
The message to display if the condition is false
Remarks
Documentation for this section has not yet been entered.
Requirements
Namespace:
NUnit.Framework
Assembly:
NUnitLite (in NUnitLite.dll)
Assembly Versions:
0.6.0.0, 1.0.0.0