@Test
public void testUnregisterService() {

    ssm.startup();
    String name = "myNewService";
    ssm.registerService(name, "AZ");
    String service = ssm.getServiceByName(name, String.class);
    assertNotNull(service);
    assertEquals("AZ", service);
    ssm.unregisterService(name);
}