### Question:
DefaultVersionCheckConfiguration implements ExtensionVersionCheckConfiguration { @Override public long environmentCheckInterval() { return configurationSource.getProperty(ENVIRONMENT_CONFIGURATION_PREFIX + "interval", 3600); }  @Override boolean isEnvironmentCheckEnabled(); @Override long environmentCheckInterval(); @Override Pattern allowedEnvironmentVersions();  }### Answer:
@Test public void testEnvironmentCheckInterval() throws Exception { when(configurationSource.getProperty("extension.versioncheck.environment.interval", 3600)) .thenReturn(1); assertEquals(1, mocker.getComponentUnderTest().environmentCheckInterval()); }