public abstract class AssertionVerifier extends Object
Modifier and Type | Field and Description |
---|---|
static String |
VERIFY_METHOD_NAME |
Constructor and Description |
---|
AssertionVerifier() |
Modifier and Type | Method and Description |
---|---|
static void |
verify(Object truthValue,
String text,
ValueRecorder recorder)
Verifies that the given value is true according to Groovy truth,
throwing a PowerAssertionError with a cleaned-up stacktrace and
helpful detail message otherwise.
|
public static final String VERIFY_METHOD_NAME
public static void verify(Object truthValue, String text, ValueRecorder recorder)
truthValue
- the value of an assertion's truth expressiontext
- the source text of the assertionrecorder
- a ValueRecorder used for rendering failed assertions