### Question:
AuditEventPageRequest extends CustomPageRequest { public AuditEventPageRequest withIncrementedLimit() { final AuditEventPageRequest copy = AuditEventPageRequest.copy(this); copy.setLimit(this.getSanitizedLimit() + 1); return copy; } AuditEventPageRequest(); ZonedDateTime getFrom(); void setFrom(final ZonedDateTime from); ZonedDateTime getTo(); void setTo(final ZonedDateTime to); String getType(); void setType(final String type); static AuditEventPageRequest copy(final AuditEventPageRequest source); AuditEventPageRequest withIncrementedLimit(); @Override MutableUri updateWithPageParams(final MutableUri builder); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testWithIncrementedLimit() { AuditEventPageRequest request = new AuditEventPageRequest(); request.setFrom(FROM); request.setTo(TO); request.setLimit(LIMIT); request.setOffset(OFFSET); request.setType(EVENT_TYPE); AuditEventPageRequest result = request.withIncrementedLimit(); assertThat(result.getFrom(), is(FROM)); assertThat(result.getTo(), is(TO)); assertThat(result.getSanitizedLimit(), is(LIMIT + 1)); assertThat(result.getOffset(), is(OFFSET)); assertThat(result.getType(), is(EVENT_TYPE)); }