-
- All Implemented Interfaces:
public final class JSONMockMvcResultMatchersDSLDSL class to provide result matching functions for
MockMvc.
-
-
Field Summary
Fields Modifier and Type Field Description private final JSONMockMvc.JSONResultActionsresultActions
-
Constructor Summary
Constructors Constructor Description JSONMockMvcResultMatchersDSL(JSONMockMvc.JSONResultActions resultActions)
-
Method Summary
Modifier and Type Method Description final JSONMockMvc.JSONResultActionsgetResultActions()final Unitstatus(Function1<JSONStatusResultMatchersDSL, Unit> dsl)final Unitcontent(Function1<JSONContentResultMatchersDSL, Unit> dsl)final UnitcontentMatchesJSON(Function1<JSONExpect, Unit> tests)-
-
Constructor Detail
-
JSONMockMvcResultMatchersDSL
JSONMockMvcResultMatchersDSL(JSONMockMvc.JSONResultActions resultActions)
-
-
Method Detail
-
getResultActions
final JSONMockMvc.JSONResultActions getResultActions()
-
status
final Unit status(Function1<JSONStatusResultMatchersDSL, Unit> dsl)
-
content
final Unit content(Function1<JSONContentResultMatchersDSL, Unit> dsl)
-
contentMatchesJSON
final Unit contentMatchesJSON(Function1<JSONExpect, Unit> tests)
-
-
-
-