### Question:
ZeppelinCloudStorageRoleConfigProvider extends AbstractRoleConfigProvider { @Override protected List<ApiClusterTemplateConfig> getRoleConfigs(String roleType, TemplatePreparationObject templatePreparationObject) { switch (roleType) { case ZEPPELIN_SERVER: return ConfigUtils.getStorageLocationForServiceProperty(templatePreparationObject, ZEPPELIN_NOTEBOOK_DIR) .map(location -> List.of(config(ZEPPELIN_NOTEBOOK_DIR, location.getValue()))) .orElseGet(List::of); default: return List.of(); } }  @Override String getServiceType(); @Override List<String> getRoleTypes(); @Override boolean isConfigurationNeeded(CmTemplateProcessor cmTemplateProcessor, TemplatePreparationObject source);  }### Answer:
@Test public void testGetZeppelinStorageRoleConfigsWhenNoLocationConfigured() { TemplatePreparationObject preparationObject = getTemplatePreparationObject(null); String inputJson = getBlueprintText("input/clouderamanager-ds.bp"); CmTemplateProcessor cmTemplateProcessor = new CmTemplateProcessor(inputJson); Map<String, List<ApiClusterTemplateConfig>> roleConfigs = underTest.getRoleConfigs(cmTemplateProcessor, preparationObject); List<ApiClusterTemplateConfig> zeppelinStorageConfigs = roleConfigs.get("zeppelin-ZEPPELIN_SERVER-BASE"); assertEquals(0, zeppelinStorageConfigs.size()); }