### Question:
ResultsPage { public int getResultsStart() { return page != -1 ? (pageSize * page) + 1 : 1; } ResultsPage(List<Object> results, int pageSize, int page); List<Object> getResults(); int getResultsStart(); int getResultsEnd(); int getNextPage(); int getPreviousPage(); @Override boolean equals(final Object o); @Override int hashCode();  }### Answer:
@Test public void testGetResultsStart(){ log.info("testGetResultsStart"); ResultsPage hasPrevious = new ResultsPage(RESULTS, 4, 1); assertEquals(5, hasPrevious.getResultsStart()); ResultsPage noPrevious = new ResultsPage(RESULTS, 4, 0); assertEquals(1, noPrevious.getResultsStart()); ResultsPage all = new ResultsPage(RESULTS, 4, -1); assertEquals(1, all.getResultsStart()); log.info("Test successful!"); }