public final class Assert extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
that(T data,
Check<? super T> check)
Assert the data using provided check.
|
static <T> T |
that(T data,
Check<? super T> check,
ResultVisitor visitor)
Assert the data using provided check.
|
public static <T> T that(T data,
Check<? super T> check)
T - Type of the tested data.data - Tested data.check - Check to be applied.public static <T> T that(T data,
Check<? super T> check,
ResultVisitor visitor)
T - Type of the tested data.data - Tested data.check - Check to be applied.visitor - Result visitor used to interpret the detailed information about check evaluation.Copyright © 2021. All rights reserved.