It's probably easier to test if you make it public and pass in an array though. That way you can test it independently of the other methods on the request.