StorageProviderBase implements StorageProvider { public Map<String, String> getSpaceProperties(String spaceId) { Map<String, String> spaceProps = new HashMap<String, String>(); Map<String, String> allProps = getAllSpaceProperties(spaceId); for (String name : allProps.keySet()) { if (!name.startsWith(PROPERTIES_SPACE_ACL)) { spaceProps.put(name, allProps.get(name)); } } return spaceProps; }  Map<String, String> getSpaceProperties(String spaceId); void setNewSpaceProperties(String spaceId,
                                      Map<String, String> spaceProperties); void setNewSpaceProperties(String spaceId,
                                      Map<String, String> spaceProperties,
                                      Map<String, AclType> spaceACLs); Map<String, AclType> getSpaceACLs(String spaceId); void setSpaceACLs(String spaceId, Map<String, AclType> spaceACLs); void deleteSpace(String spaceId); void deleteSpaceSync(String spaceId); SpaceDeleteWorker getSpaceDeleteWorker(String spaceId); void setWrappedStorageProvider(StorageProvider wrappedStorageProvider);  }
@Test public void testGetSpaceProperties() { createGetSpacePropertiesMocks(); Map<String, String> props = providerBase.getSpaceProperties(spaceId); Assert.assertNotNull(props); Assert.assertEquals(systemProps.size(), props.size()); Assert.assertTrue(systemProps.containsKey(sysPropName)); Assert.assertEquals(sysPropVal, systemProps.get(sysPropName)); }