Mock of paginator class