Package com.github.ngeor.yak4j
Class Assertions
- java.lang.Object
-
- com.github.ngeor.yak4j.Assertions
-
public final class Assertions extends Object
Main entry point for the custom assertions of this package.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> RequestEntityAssert<T>assertThat(RequestEntity<T> requestEntity)Starts building assertions for the given request entity.static <T> ResponseEntityAssert<T>assertThat(ResponseEntity<T> responseEntity)Starts building assertions for the given response entity.static ResultActionsAssertassertThat(ResultActions resultActions)Starts building assertions for the given result actions.
-
-
-
Method Detail
-
assertThat
public static ResultActionsAssert assertThat(ResultActions resultActions)
Starts building assertions for the given result actions.
-
assertThat
public static <T> ResponseEntityAssert<T> assertThat(ResponseEntity<T> responseEntity)
Starts building assertions for the given response entity.
-
assertThat
public static <T> RequestEntityAssert<T> assertThat(RequestEntity<T> requestEntity)
Starts building assertions for the given request entity.
-
-