dateTime.Shold().NotBe(anotherDateTime);
Comments: ** Comment from web user: brianlow **
Comments: ** Comment from web user: brianlow **
Here is an extension method to workaround in the mean time:
public static void NotBe(this DateTimeAssertions assertions, DateTime expected)
{
Execute.Verification
.ForCondition(assertions.Subject.Value != expected)
.FailWith("Expected {0}{reason}, but found {1}.", expected, assertions.Subject.Value);
}