### Question:
CheckmarxConfig extends AbstractCodeScanAdapterConfig implements CheckmarxAdapterConfig { @Override public String getEngineConfigurationName() { return engineConfigurationName; } private  CheckmarxConfig(); @Override String getTeamIdForNewProjects(); @Override String getClientSecret(); Long getPresetIdForNewProjectsOrNull(); @Override InputStream getSourceCodeZipFileInputStream(); @Override String getEngineConfigurationName(); static CheckmarxConfigBuilder builder(); static final String DEFAULT_CLIENT_SECRET; public Long presetIdForNewProjects; }### Answer:
@Test public void builder_creates_config_with_engine_configuration_name_set() { String engineConfigurationName = "test-configuration"; CheckmarxConfigBuilder builder = createBuilderWithMandatoryParamatersSet(); builder.setEngineConfigurationName(engineConfigurationName); CheckmarxConfig config = builder.build(); assertEquals(engineConfigurationName, config.getEngineConfigurationName()); }
@Test public void builder_creates_config_with_default_engine_configuration_name() { CheckmarxConfigBuilder builder = createBuilderWithMandatoryParamatersSet(); CheckmarxConfig config = builder.build(); assertEquals(CheckmarxConstants.DEFAULT_CHECKMARX_ENGINECONFIGURATION_MULTILANGANGE_SCAN_NAME, config.getEngineConfigurationName()); }