@Test void getPrevHref() { EntityPager pager = new EntityPager(0, 15, 30L, null); EntityCollectionResponse response = new EntityCollectionResponse( pager, null, "/test", entityType, permissionService, dataService); assertNull(response.getPrevHref()); pager = new EntityPager(15, 15, 30L, null); response = new EntityCollectionResponse( pager, null, "/test", entityType, permissionService, dataService); assertEquals("/test?start=0&num=15", response.getPrevHref()); pager = new EntityPager(30, 15, 30L, null); response = new EntityCollectionResponse( pager, null, "/test", entityType, permissionService, dataService); assertEquals("/test?start=15&num=15", response.getPrevHref()); }
public String getPrevHref() { return prevHref; }
EntityCollectionResponse { public String getPrevHref() { return prevHref; } }
EntityCollectionResponse { public String getPrevHref() { return prevHref; } EntityCollectionResponse(
      EntityPager entityPager,
      List<Map<String, Object>> items,
      String href,
      EntityType meta,
      UserPermissionEvaluator permissionService,
      DataService dataService); }
EntityCollectionResponse { public String getPrevHref() { return prevHref; } 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 getPrevHref() { return prevHref; } 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();  }