}
@Test
public void testInitCallsSuperInit() throws Exception {
DefaultHaDescriptor haDescriptor = new DefaultHaDescriptor();
haDescriptor.addServiceConfig( new DefaultHaServiceConfig( "test-role" ) );
HaProvider haProvider = new DefaultHaProvider( haDescriptor );
ServletContext context = EasyMock.createNiceMock(ServletContext.class);
EasyMock.expect(context.getAttribute(HaServletContextListener.PROVIDER_ATTRIBUTE_NAME)).andReturn(haProvider).anyTimes();
FilterConfig config = EasyMock.createNiceMock( FilterConfig.class );
EasyMock.expect(config.getServletContext()).andReturn(context).anyTimes();