How to Unit Test Page Locale in Sling Model
Hi,
I am creating a component that requires the Page Locale to make decisions on what to display. I am able to get the Page object using @586265, but i am not sure how to Unit Test this models now. I tried creating an entire structure in unit tests json and passed it to AEMContent.currentResource() but that doesn't inject the Page object.
Any help would be appreciated.
Thanks,
Raj