### Question:
ConfigurationFile { public String getProperty(final String propertyName) { return getPropertiesOfScope().getProperty(propertyName); } ConfigurationFile(final String propertiesFilename);  ConfigurationFile(String propertiesFilename, long tenantId); String getProperty(final String propertyName); void removeProperty(final String propertyName); void setProperty(final String propertyName, final String propertyValue); Set<String> getPropertyAsSet(final String propertyName); void setPropertyAsSet(final String property, final Set<String> permissions);  }### Answer:
@Test public void should_getProperty_return_the_right_custom_permissions_with_special_characters() throws Exception { final ConfigurationFile tenantProperties = new ConfigurationFile(CUSTOM_PERMISSIONS_MAPPING_FILE, TENANT_ID); final String customValue = tenantProperties.getProperty("profile|HR manager"); Assert.assertEquals("[ManageProfiles]", customValue); }
@Test public void should_getProperty_return_the_right_compound_permissions() throws Exception { final ConfigurationFile tenantProperties = new ConfigurationFile(COMPOUND_PERMISSIONS_MAPPING_FILE, TENANT_ID); final String compoundValue = tenantProperties.getProperty("taskListingPage"); Assert.assertEquals("[TaskVisualization, CaseVisualization]", compoundValue); }
@Test public void should_getProperty_return_the_right_resource_permissions() throws Exception { final ConfigurationFile tenantProperties = new ConfigurationFile(RESOURCES_PERMISSIONS_MAPPING_FILE, TENANT_ID); final String resourcesValue = tenantProperties.getProperty("GET|bpm/identity"); Assert.assertEquals("[UserVisualization, groupVisualization]", resourcesValue); }
@Test public void should_getProperty_return_the_right_custom_permissions() throws Exception { final ConfigurationFile tenantProperties = new ConfigurationFile(CUSTOM_PERMISSIONS_MAPPING_FILE, TENANT_ID); final String customValue = tenantProperties.getProperty("profile|User"); Assert.assertEquals("[ManageLooknFeel, ManageProfiles]", customValue); }