@Test void getNextHref() { EntityPager pager = new EntityPager(0, 10, 25L, null); EntityCollectionResponse response = new EntityCollectionResponse( pager, null, "/test", entityType, permissionService, dataService); assertEquals("/test?start=10&num=10", response.getNextHref()); pager = new EntityPager(10, 10, 25L, null); response = new EntityCollectionResponse( pager, null, "/test", entityType, permissionService, dataService); assertEquals("/test?start=20&num=10", response.getNextHref()); pager = new EntityPager(0, 25, 25L, null); response = new EntityCollectionResponse( pager, null, "/test", entityType, permissionService, dataService); assertNull(response.getNextHref()); }
public String getNextHref() { return nextHref; }
EntityCollectionResponse { public String getNextHref() { return nextHref; } }
EntityCollectionResponse { public String getNextHref() { return nextHref; } EntityCollectionResponse(
      EntityPager entityPager,
      List<Map<String, Object>> items,
      String href,
      EntityType meta,
      UserPermissionEvaluator permissionService,
      DataService dataService); }
EntityCollectionResponse { public String getNextHref() { return nextHref; } EntityCollectionResponse(
      EntityPager entityPager,
      List<Map<String, Object>> items,
      String href,
      EntityType meta,
      UserPermissionEvaluator permissionService,
      DataService dataService); String getHref(); EntityTypeResponse getMeta(); int getStart(); int getNum(); long getTotal(); String getPrevHref(); String getNextHref(); List<Map<String, Object>> getItems(); }
EntityCollectionResponse { public String getNextHref() { return nextHref; } EntityCollectionResponse(
      EntityPager entityPager,
      List<Map<String, Object>> items,
      String href,
      EntityType meta,
      UserPermissionEvaluator permissionService,
      DataService dataService); String getHref(); EntityTypeResponse getMeta(); int getStart(); int getNum(); long getTotal(); String getPrevHref(); String getNextHref(); List<Map<String, Object>> getItems();  }