@Test(expected=None.class) public void closeRepositoryQuietlyWithRepository() { RepositoryUtil.closeQuietly(repo); verify(repo).close(); }
public static void closeQuietly(Repository repo) { if (repo != null) { try { repo.close(); } catch (RuntimeException e) { } } }
RepositoryUtil { public static void closeQuietly(Repository repo) { if (repo != null) { try { repo.close(); } catch (RuntimeException e) { } } } }
RepositoryUtil { public static void closeQuietly(Repository repo) { if (repo != null) { try { repo.close(); } catch (RuntimeException e) { } } } private  RepositoryUtil(); }
RepositoryUtil { public static void closeQuietly(Repository repo) { if (repo != null) { try { repo.close(); } catch (RuntimeException e) { } } } private  RepositoryUtil(); static void closeQuietly(Repository repo); static File getWorkingDir(Repository repo); }
RepositoryUtil { public static void closeQuietly(Repository repo) { if (repo != null) { try { repo.close(); } catch (RuntimeException e) { } } } private  RepositoryUtil(); static void closeQuietly(Repository repo); static File getWorkingDir(Repository repo);  }