55import com .auth0 .client .mgmt .filter .PageFilter ;
66import com .auth0 .client .mgmt .filter .UserFilter ;
77import com .auth0 .client .mgmt .filter .CheckpointPaginationFilter ;
8+ import com .auth0 .json .mgmt .Page ;
89import com .auth0 .json .mgmt .guardian .Enrollment ;
910import com .auth0 .json .mgmt .logevents .LogEvent ;
1011import com .auth0 .json .mgmt .logevents .LogEventsPage ;
@@ -1371,7 +1372,7 @@ public void shouldListRefreshTokensWithoutFilter() throws Exception {
13711372
13721373 @ Test
13731374 public void shouldListRefreshTokensWithPage () throws Exception {
1374- CheckpointPaginationFilter filter = new CheckpointPaginationFilter ().withFrom ("tokenId2" ).withTake (5 );
1375+ PageFilter filter = new PageFilter ().withFrom ("tokenId2" ).withTake (5 );
13751376 Request <RefreshTokensPage > request = api .users ().listRefreshTokens ("1" , filter );
13761377 assertThat (request , is (notNullValue ()));
13771378
@@ -1391,7 +1392,7 @@ public void shouldListRefreshTokensWithPage() throws Exception {
13911392
13921393 @ Test
13931394 public void shouldListRefreshTokensWithTotal () throws Exception {
1394- CheckpointPaginationFilter filter = new CheckpointPaginationFilter ().withTotals (true );
1395+ PageFilter filter = new PageFilter ().withTotals (true );
13951396 Request <RefreshTokensPage > request = api .users ().listRefreshTokens ("1" , filter );
13961397 assertThat (request , is (notNullValue ()));
13971398
@@ -1448,7 +1449,7 @@ public void shouldListSessionsWithoutFilter() throws Exception {
14481449
14491450 @ Test
14501451 public void shouldListSessionsWithPage () throws Exception {
1451- CheckpointPaginationFilter filter = new CheckpointPaginationFilter ().withFrom ("sessionId3" ).withTake (9 );
1452+ PageFilter filter = new PageFilter ().withFrom ("sessionId3" ).withTake (9 );
14521453 Request <SessionsPage > request = api .users ().listSessions ("1" , filter );
14531454 assertThat (request , is (notNullValue ()));
14541455
@@ -1468,7 +1469,7 @@ public void shouldListSessionsWithPage() throws Exception {
14681469
14691470 @ Test
14701471 public void shouldListSessionsWithTotal () throws Exception {
1471- CheckpointPaginationFilter filter = new CheckpointPaginationFilter ().withTotals (true );
1472+ PageFilter filter = new PageFilter ().withTotals (true );
14721473 Request <SessionsPage > request = api .users ().listSessions ("1" , filter );
14731474 assertThat (request , is (notNullValue ()));
14741475
0 commit comments