WCF/C# N-Tier app.
We have implemented Paging in our business Layer using this snippet as a basic guideline.
I'm just wondering- in an effort to make the paging functionality testable, should I make the pager a public property of our Manager classes or inject it in the constructor? We already inject a repository for unit testing but I do not feel it's right to go down the route of injecting too much.
Alternatively, is it better to keep the pager private? The page size will be specified in a config file anyway so I guess I could specify the page size in the test app.config.