### Question:
CertificateUtils { public static KeyResolver getKeyResolver() { return keyResolver; }  static String getThumbPrint(Certificate certificate); static String hexify(byte[] bytes); static KeyResolver getKeyResolver();  }### Answer:
@Test public void testGetKeyResolver() throws Exception { try { System.setProperty("debug", "true"); KeyResolver keyResolver = CertificateUtils.getKeyResolver(); Assert.assertTrue(keyResolver instanceof FileBasedKeyResolver); } finally { System.getProperties().remove("debug"); } }