Resource moduleOptionsResource = getModuleOptionsResource(moduleOptionsTypeResource, attribute);
//assert non-zero id returned
assert moduleOptionsResource.getId() != 0 : "The resource was not properly initialized. Expected id != 0";
//fetch configuration for module options
//Now request the resource complete with resource config
Configuration loadedOptionsConfiguration = testConfigurationManager
.loadResourceConfiguration(moduleOptionsResource.getId());
for (String key : loadedOptionsConfiguration.getAllProperties().keySet()) {
//retrieve the open map of Module Options
PropertyMap map = ((PropertyMap) loadedOptionsConfiguration.getAllProperties().get(key));
LinkedHashMap<String, Object> options = moduleOptionType.getOptions();