### Question:
HiveKnoxConfigProvider implements CmTemplateComponentConfigProvider { @Override public List<String> getRoleTypes() { return List.of(HiveRoles.HIVESERVER2); }  @Override List<ApiClusterTemplateConfig> getServiceConfigs(CmTemplateProcessor templateProcessor, TemplatePreparationObject templatePreparationObject); @Override String getServiceType(); @Override List<String> getRoleTypes(); @Override boolean isConfigurationNeeded(CmTemplateProcessor cmTemplateProcessor, TemplatePreparationObject source);  }### Answer:
@Test void getRoleTypes() { assertThat(underTest.getRoleTypes()).hasSameElementsAs(List.of(HiveRoles.HIVESERVER2)); }