@Test(dataProvider = "computeNumberOfSkips")
public void last_ten_with_list_nine(int cursorLength, int lastNrOfDocuments, int expectedNrOfSkips)
{

    QueryController queryController = new QueryController();
    int actualNrOfSkips = queryController.skipToLast(cursorLength, lastNrOfDocuments);
    assertEquals(actualNrOfSkips, expectedNrOfSkips);
}