I\'m trying to write a factory function for creating pages of resources in my test suite. It won\'t compile.
The api resource attempted to be