@Test
public void getLatestPatcher() throws Exception {

  LocalPackage target = new FakeLocalPackage("patcher;v3");
  List<LocalPackage> local = ImmutableList.of(new FakeLocalPackage("patcher;v1"), target, new FakeLocalPackage("patcher;v2"));
  RepositoryPackages packages = new RepositoryPackages(local, ImmutableList.of());
  FakeRepoManager mgr = new FakeRepoManager(new File("/sdk"), packages);
  LocalPackage patcher = PatchInstallerUtil.getLatestPatcher(mgr);
  assertEquals(target, patcher);
}