}
};
storage = createMock(SAMLMessageStorage.class);
contextProvider = context.getBean("contextProvider", SAMLContextProviderImpl.class);
((SAMLContextProviderImpl) contextProvider).setStorageFactory(new StorageFactoryTestImpl(storage));
expect(request.isSecure()).andReturn(false).anyTimes();
expect(request.getAttribute(org.springframework.security.saml.SAMLConstants.LOCAL_ENTITY_ID)).andReturn(null).anyTimes();
expect(request.getContextPath()).andReturn("/");
replyMock();