### Question:
RegistryMgtUIPropertiesServiceComponent { protected void unsetRegistryService(RegistryService registryService) { dataHolder.setRegistryService(null); }    }### Answer:
@Test public void unsetRegistryService() throws Exception { RegistryService registryService = mock(RegistryService.class); RegistryMgtUIPropertiesServiceComponent serviceComponent = new RegistryMgtUIPropertiesServiceComponent(); serviceComponent.unsetRegistryService(registryService); assertNull(PropertiesDataHolder.getInstance().getRegistryService()); }