Autospec mock of page_number.