### Question:
ApimAdapterConfig { public String getMonitoringPushHost() { return monitoringPushHost; } ApimAdapterConfig(boolean backendUseHttps, String backendPort, String backendHost, String backendToken,
                             boolean adminUseHttps, String adminHost, String adminToken, List<TokenIssuerConfig> tokenIssuers,
                             int adapterSyncRateInSeconds, int adapterConfigReloadInSeconds, String adapterServiceId,
                             boolean adapterProductionMode, MonitoringLevel monitoringLevel, String monitoringPushHost,
                             int monitoringPushIntervalInSeconds, boolean monitoringPushEnabled, String monitoringId,
                             String monitoringNamespace, String cacheLocation, List<HttpMethod> excludeFilterMethods,
                             boolean reportResponseCode, boolean apimFilterEnabled); static ApimAdapterConfigBuilder builder(); String getBackendUrl(); boolean isMonitoringNotDisabledOrMinimal(); boolean isMonitoringDisabled(); boolean isBackendUseHttps(); String getBackendPort(); String getBackendHost(); String getBackendToken(); boolean isAdminUseHttps(); String getAdminHost(); String getAdminToken(); List<TokenIssuerConfig> getTokenIssuers(); int getAdapterSyncRateInSeconds(); int getAdapterConfigReloadInSeconds(); String getAdapterServiceId(); boolean isAdapterProductionMode(); MonitoringLevel getMonitoringLevel(); String getMonitoringPushHost(); int getMonitoringPushIntervalInSeconds(); boolean isMonitoringPushEnabled(); String getMonitoringId(); String getMonitoringNamespace(); String getCacheLocation(); List<HttpMethod> getExcludeFilterMethods(); boolean isReportResponseCode(); boolean isApimFilterEnabled(); void setApimFilterEnabled(boolean apimFilterEnabled); @Override String toString();  }### Answer:
@Test public void testPropertyOverrideByEnvironmentVariable() { String givenValue = "http: environmentVariables.set(MONITORING_PUSH_HOST, givenValue); apimAdapterConfig = ApimAdapterFactory.createApimAdapterConfig(); String actualValue = apimAdapterConfig.getMonitoringPushHost(); assertEquals(givenValue, actualValue); }
@Test public void testSystemPropertyOverridesEnvironmentVariable() { String givenEnvValue = "http: environmentVariables.set(MONITORING_PUSH_HOST, givenEnvValue); String givenPropertyValue = "http: System.setProperty(MONITORING_PUSH_HOST, givenPropertyValue); apimAdapterConfig = ApimAdapterFactory.createApimAdapterConfig(); String actualValue = apimAdapterConfig.getMonitoringPushHost(); assertEquals(givenPropertyValue, actualValue); }