### Question:
PageWithLimitPagination implements Pagination { public int getFrom() { return from; } PageWithLimitPagination(int page, int limit); @Override Criteria addPagination(@Nonnull Criteria criteria); @Override Query addPagination(@Nonnull Query query); int getFrom(); int getCount(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void pagination1stPage() { int page = 1, limit = 10; PageWithLimitPagination pagination = new PageWithLimitPagination(page, limit); assertEquals(10, pagination.getFrom()); }