@Override
    public List<Class<? extends Event>> subscribeTypes() {
        List<Class<? extends Event>> result = new LinkedList<>();
        result.add(MetadataEvent.InstanceMetadataEvent.class);
        result.add(MetadataEvent.ServiceMetadataEvent.class);
        result.add(ClientEvent.ClientDisconnectEvent.class);
        return result;
    }
@Test
    void testSubscribeTypes() {
        List<Class<? extends Event>> classes = namingMetadataManager.subscribeTypes();
        
        assertEquals(3, classes.size());
    }