### Question:
OpenShiftClientServiceImpl implements OpenShiftClientService { @Override public DefaultSettings getDefaultSettings() { if (defaultSettingsInstance == null) { defaultSettingsInstance = new DefaultSettings(); defaultSettingsInstance.setValue(DefaultSettings.DEFAULT_OPEN_SHIFT_TEMPLATE, System.getProperty(DefaultSettings.DEFAULT_OPEN_SHIFT_TEMPLATE)); defaultSettingsInstance.setValue(DefaultSettings.DEFAULT_OPEN_SHIFT_IMAGE_STREAMS, System.getProperty(DefaultSettings.DEFAULT_OPEN_SHIFT_IMAGE_STREAMS)); defaultSettingsInstance.setValue(DefaultSettings.DEFAULT_OPEN_SHIFT_SECRETS, System.getProperty(DefaultSettings.DEFAULT_OPEN_SHIFT_SECRETS)); logger.debug("OpenShift default settings were set to"); logger.debug(DefaultSettings.DEFAULT_OPEN_SHIFT_TEMPLATE + " = " + defaultSettingsInstance.getValue(DefaultSettings.DEFAULT_OPEN_SHIFT_TEMPLATE)); logger.debug(DefaultSettings.DEFAULT_OPEN_SHIFT_IMAGE_STREAMS + " = " + defaultSettingsInstance.getValue(DefaultSettings.DEFAULT_OPEN_SHIFT_IMAGE_STREAMS)); logger.debug(DefaultSettings.DEFAULT_OPEN_SHIFT_SECRETS + " = " + defaultSettingsInstance.getValue(DefaultSettings.DEFAULT_OPEN_SHIFT_SECRETS)); } return defaultSettingsInstance; } OpenShiftClientServiceImpl(); @Override DefaultSettings getDefaultSettings(); @Override TemplateDescriptorModel getTemplateModel(final String url); @Override boolean isValidProjectName(final String projectName);  }### Answer:
@Test public void testGetDefaultSettings() { System.getProperties().setProperty(DefaultSettings.DEFAULT_OPEN_SHIFT_TEMPLATE, DEFAULT_OPEN_SHIFT_TEMPLATE_VALUE); System.getProperties().setProperty(DefaultSettings.DEFAULT_OPEN_SHIFT_IMAGE_STREAMS, DEFAULT_OPEN_SHIFT_IMAGE_STREAMS_VALUE); System.getProperties().setProperty(DefaultSettings.DEFAULT_OPEN_SHIFT_SECRETS, DEFAULT_OPEN_SHIFT_SECRETS_VALUE); DefaultSettings defaultSettings = service.getDefaultSettings(); assertEquals(DEFAULT_OPEN_SHIFT_TEMPLATE_VALUE, defaultSettings.getValue(DefaultSettings.DEFAULT_OPEN_SHIFT_TEMPLATE)); assertEquals(DEFAULT_OPEN_SHIFT_IMAGE_STREAMS_VALUE, defaultSettings.getValue(DefaultSettings.DEFAULT_OPEN_SHIFT_IMAGE_STREAMS)); assertEquals(DEFAULT_OPEN_SHIFT_SECRETS_VALUE, defaultSettings.getValue(DefaultSettings.DEFAULT_OPEN_SHIFT_SECRETS)); }