no. To get the lastPage we need to first calculate how many pages there are still to come by looking at the current result count: ceil($this->thresholdCount / $this->getMaxPerPage())
Then we have to add that to where we are now: getPage.

I added some line notes to the tests.