### Question:
AppUpdateRunner implements Runnable { boolean requiresUpdate(Version latestVersion) { if(latestVersion.isGreaterThan(new VersionImpl(Versions.CURRENT))) { return true; } return false; }  @Override void run();  }### Answer:
@Test public void testRequiresUpdate() throws Exception { AppUpdateRunner instance = new AppUpdateRunner(); boolean result = instance.requiresUpdate(new VersionImpl("10.0")); assertTrue(result); }