### Question:
HttpUpdateChecker implements UpdateChecker { @Override public boolean isAllowed(String version) { load(); Version minimumVersion = Version.valueOf(desktopVersion.getMinimumAppVersion()); Version appVersion = Version.valueOf(version); return appVersion.greaterThanOrEqualTo(minimumVersion); } HttpUpdateChecker(HttpClient client);  HttpUpdateChecker(); @Override VersionInformation loadInfos(); @Override boolean isCurrent(String version); @Override LatestVersionInfo getDesktopVersion(); @Override boolean isAllowed(String version);  }### Answer:
@Test public void deniesOutdatedVersion() { setResponse("0.2.9", "0.2.0"); assertFalse(checker.isAllowed("0.1.9")); }
@Test public void allowsLeastAllowedVersion() { setResponse("0.2.9", "0.2.0"); assertTrue(checker.isAllowed("0.2.0")); }