### Question:
DataSourceManagementBootstrap { protected void initializeConfigParams() { String value = null; try { value = getManagedProperty(DataSourceSettings.getInstance().getProperties(), DEPLOYMENTS_INITIALIZATION_RETRIES, Long.toString(deploymentsInitializationRetries)); deploymentsInitializationRetries = Long.parseLong(value); } catch (NumberFormatException e) { logger.warn("Wrong integer value: " + value + " was set for property: " + DEPLOYMENTS_INITIALIZATION_RETRIES + " The by default value: " + deploymentsInitializationRetries + " will be used instead."); } try { value = getManagedProperty(DataSourceSettings.getInstance().getProperties(), DEPLOYMENTS_INITIALIZATION_DELAY, Long.toString(deploymentsInitializationDelay)); deploymentsInitializationDelay = Long.parseLong(value); } catch (NumberFormatException e) { logger.warn("Wrong integer value: " + value + " was set for property: " + DEPLOYMENTS_INITIALIZATION_DELAY + " The by default value: " + deploymentsInitializationDelay + " will be used instead."); } } DataSourceManagementBootstrap(); @Inject  DataSourceManagementBootstrap(DataSourceRuntimeManager dataSourceRuntimeManager,
                                         DataSourceDefDeployer dataSourceDefDeployer,
                                         DriverDefDeployer driverDefDeployer,
                                         DefaultDriverInitializer driverInitializer,
                                         DefResourceChangeObserver defResourceChangeObserver,
                                         BeanManager beanManager); @PostConstruct void init(); @PreDestroy void destroy(); static final String DEPLOYMENTS_INITIALIZATION_RETRIES; static final String DEPLOYMENTS_INITIALIZATION_DELAY; static final String DEF_CHANGE_HANDLER_BEAN; }### Answer:
@Test public void testInitializeConfigParams() throws Exception { dataSourceManagementBootstrap.init(); assertEquals(DELAY, dataSourceManagementBootstrap.deploymentsInitializationDelay); assertEquals(RETRIES, dataSourceManagementBootstrap.deploymentsInitializationRetries); }