### Question:
PropertiesAdminService extends RegistryAbstractAdmin implements
        IPropertiesAdminService<PropertiesBean,RetentionBean> { public PropertiesBean getProperties(String path, String viewProps) throws RegistryException { UserRegistry registry = (UserRegistry)getRootRegistry(); return PropertiesBeanPopulator.populate(registry, path, viewProps); }  PropertiesBean getProperties(String path, String viewProps); void setProperty(String path, String name, String value); void updateProperty(String path, String name, String value, String oldName); void removeProperty(String path, String name); boolean setRetentionProperties(String path, RetentionBean bean); RetentionBean getRetentionProperties(String path);  }### Answer:
@Test public void testGetProperties() throws Exception { resource.setProperty("registry.mount.path", "_system_governance"); PropertiesAdminService adminService = new PropertiesAdminService(); PropertiesBean bean1 = adminService.getProperties(resourcePath, "yes"); assertEquals(1, bean1.getProperties().length); assertArrayEquals(new String[]{"registry.mount.path"}, bean1.getSysProperties()); PropertiesBean bean2 = adminService.getProperties(resourcePath, "no"); assertEquals(1, bean2.getProperties().length); assertArrayEquals(new String[]{}, bean2.getSysProperties()); }