### Question:
ServiceConfigurationModel { ServiceConfigurationModel() { } ServiceConfigurationModel();   ServiceConfigurationModel(final ApiServiceConfig            serviceConfig,
                            final Map<ApiRole, ApiConfigList> roles);   }### Answer:
@Test public void testServiceConfigurationModel() { Map<String, String> serviceConfig = new HashMap<>(); serviceConfig.put("prop1", "value1"); serviceConfig.put("prop2", "value2"); Map<String, Map<String, String>> roleConfig = new HashMap<>(); Map<String, String> roleProps = new HashMap<>(); roleProps.put("prop1", "value1"); roleProps.put("prop2", "value2"); roleProps.put("prop3", "value3"); roleConfig.put("test1", roleProps); roleProps = new HashMap<>(); roleProps.put("prop4", "value4"); roleProps.put("prop5", "value5"); roleProps.put("prop6", "value6"); roleConfig.put("test2", roleProps); ServiceConfigurationModel model = createModel(serviceConfig, roleConfig); assertNotNull(model); assertFalse(model.getServiceProps().isEmpty()); assertFalse(model.getRoleProps().isEmpty()); assertFalse(model.getRoleTypes().isEmpty()); validateServiceConfigurationModel(model, serviceConfig, roleConfig); }