@CompileStatic class PageInfoAssertion extends Object
The class whose instances are responsible for asserting payload.pageInfo
part in the response map.
Modifiers | Name | Description |
---|---|---|
static class |
PageInfoAssertion.RequestedPageRequirementAssertion |
|
static class |
PageInfoAssertion.RequestedSortRequirementAssertion |
Constructor and description |
---|
PageInfoAssertion(Map pageInfoMap) |
Type Params | Return Type | Name and description |
---|---|---|
|
PageInfoAssertion |
hasFirstFlagOf(Boolean expectedFirstFlag) |
|
PageInfoAssertion |
hasPageElementsCount(Long expectedPageElementsCount) |
|
PageInfoAssertion |
hasPageElementsCountGreaterThenOrEqual(Long comparablePageElementsCount) |
|
PageInfoAssertion |
hasPageOrdinal(Long expectedPageOrdinal) |
|
PageInfoAssertion |
hasRequestedPageRequirementThat(Closure aClosure) |
|
PageInfoAssertion |
hasRequestedSortRequirementListWithElementAtIndexThat(Integer anIndex, Closure aClosure) |
|
PageInfoAssertion |
hasRequestedSortRequirementListWithFirstElementThat(Closure aClosure) |
|
PageInfoAssertion |
hasTotalElementsCount(Long expectedTotalElementsCount) |
|
PageInfoAssertion |
hasTotalElementsCountGreaterThanOrEqual(Long comparableTotalElementsCount) |
|
PageInfoAssertion |
isFirstPageWithDefaults() |
|
PageInfoAssertion |
isSuccessful() |
|
PageInfoAssertion |
isSuccessfulForEmptyPageContent() |