Paginator Component can work with requestAction()

I'm not a lazy programmer. 3-hours hardly tried but did not succeed.
Please help me to implement the correct test.
I wanted to create like this test.: ( https://gist.github.com/zoghal/6032614
thanks