Hi I have a secured page which when requested without authentication redirects to a login page.
I want to test this using PageTester. I tried pageTester.renderPageAndReturnResponse().getRedirectURI() but it returns null. Now I am testing by checking the content of the returned page... Is there a better way ?? regards Taha