request = createMock(HttpServletRequest.class);
SAMLTestHelper.setLocalContextParameters(request, "/", null);
replayMock();
SAMLContextProvider contextProvider = context.getBean("contextProvider", SAMLContextProvider.class);
samlContext = contextProvider.getLocalEntity(request, null);
verifyMock();
}