Skip to content

Verify Class ​

Definition ​

Provides direct verification methods for asserting conditions.

c#
public static class Verify

View source

Methods ​

NameDescription
That(Boolean, String)Verifies that the specified condition is true, throwing an assertion exception if it is false.
That(Boolean, FormatInterpolatedStringHandler)Verifies that the specified condition is true, throwing an assertion exception if it is false.