### Question:
Paging { public Paging previous() { int newOffset = offset - limit; if (newOffset < 0) { newOffset = 0; } return new Paging(newOffset, limit); } private  Paging(final int myOffset, final int myLimit); static Paging at(final int offset, final int limit); Paging previous(); Paging next(); static final Paging DEFAULT_START; }### Answer:
@Test public void previous() { Paging pagingFirst = Paging.at(64, 32); Paging next = pagingFirst.previous(); assertThat(next.getOffset(), is(64 - 32 )); assertThat(next.getLimit(), is(32)); }