@Test(expectedExceptions = PeppolLoadingException.class) public void simpleDetectError() throws Exception { X509Certificate certificate = Validator.getCertificate(getClass().getResourceAsStream("/web-difi.cer")); ModeDetector.detect(certificate).getString("security.pki"); }
public static Mode detect(X509Certificate certificate) throws PeppolLoadingException { return detect(certificate, ConfigFactory.load(), null); }
ModeDetector { public static Mode detect(X509Certificate certificate) throws PeppolLoadingException { return detect(certificate, ConfigFactory.load(), null); } }
ModeDetector { public static Mode detect(X509Certificate certificate) throws PeppolLoadingException { return detect(certificate, ConfigFactory.load(), null); }  }
ModeDetector { public static Mode detect(X509Certificate certificate) throws PeppolLoadingException { return detect(certificate, ConfigFactory.load(), null); }  static Mode detect(X509Certificate certificate); static Mode detect(X509Certificate certificate, Config config, Map<String, Object> objectStorage); }
ModeDetector { public static Mode detect(X509Certificate certificate) throws PeppolLoadingException { return detect(certificate, ConfigFactory.load(), null); }  static Mode detect(X509Certificate certificate); static Mode detect(X509Certificate certificate, Config config, Map<String, Object> objectStorage);  }