@Test
public void testGetServiceKey() throws Exception {

    Map<String, String> map = new HashMap<String, String>();
    map.put(GROUP_KEY, "dubbo");
    map.put(INTERFACE_KEY, "a.b.c.Foo");
    map.put(VERSION_KEY, "1.0.0");
    assertThat(StringUtils.getServiceKey(map), equalTo("dubbo/a.b.c.Foo:1.0.0"));
}