public static ServiceInfo fromKey(final String key) {
        return new ServiceInfo(key);
    }
@Test
    void testFromKey() {
        String key1 = "group@@name";
        String key2 = "group@@name@@c2";
        ServiceInfo s1 = ServiceInfo.fromKey(key1);
        ServiceInfo s2 = ServiceInfo.fromKey(key2);
        assertEquals(key1, s1.getKey());
        assertEquals(key2, s2.getKey());
    }