public void initialize(ServiceConfiguration conf) throws Exception {
        for (ProtocolHandler handler : handlers.values()) {
            handler.initialize(conf);
        }
    }
@Test
    public void testInitialize() throws Exception {
        ServiceConfiguration conf = new ServiceConfiguration();
        handlers.initialize(conf);
        verify(handler1, times(1)).initialize(same(conf));
        verify(handler2, times(1)).initialize(same(conf));
    }