### Question:
AuditEventPageRequest extends CustomPageRequest { @Override public MutableUri updateWithPageParams(final MutableUri builder) { MutableUri builderWithPaging = super.updateWithPageParams(builder); if (from != null) { builderWithPaging.replaceQueryParam("from", ISOZonedDateTime.FORMATTER.format(from.withZoneSameInstant(UTC))); } if (to != null) { builderWithPaging.replaceQueryParam("to", ISOZonedDateTime.FORMATTER.format(to.withZoneSameInstant(UTC))); } if (type != null) { builderWithPaging.replaceQueryParam("type", type); } return builderWithPaging; } 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 testUpdateWithOnlyPagingFields() { AuditEventPageRequest request = new AuditEventPageRequest(); request.setLimit(LIMIT); request.setOffset(OFFSET); MutableUri result = request.updateWithPageParams(new SpringMutableUri("")); assertThat(result.toUriString(), is("?offset=" + OFFSET + "&limit=" + LIMIT)); }