Skip to content

Commit

Permalink
test: create nosql page scenario
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed Mar 17, 2024
1 parent 008952b commit 4652ca2
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ void shouldReturnUnsupportedOperation() {
assertThrows(UnsupportedOperationException.class, page::totalPages);

assertThrows(UnsupportedOperationException.class, page::totalElements);
assertThrows(UnsupportedOperationException.class, page::hasNext);
assertThrows(UnsupportedOperationException.class, page::hasPrevious);
assertThrows(UnsupportedOperationException.class, page::hasTotals);
}

@Test
Expand Down Expand Up @@ -131,4 +134,5 @@ void shouldEqualsHasCode(){
assertEquals(page.hashCode(), page2.hashCode());

}

}

0 comments on commit 4652ca2

Please sign in to comment.