I have resource locators that use ResourceContext to create the sub
resource class. When I attempt to tests those locator methods, I need
to provide a ResourceContext (which is normally injected). Is there a
good strategy for that? Mocking is somewhat cumbersome, and I'm
wondering if there isn't a better way.
Thanks