public void checkSecureIncoming()
{
final WebApplication application = new MockApplication();
// needed to be able to call new WebPage()
final WicketTester tester = new WicketTester(application);
ThreadContext.setApplication(application);
HttpsRequestChecker checker = new HttpsRequestChecker();
IPageRequestHandler httpsPageRequestHandler = Mockito.mock(IPageRequestHandler.class);