@Override protected void setupMocks() { try { certDao = (CertificateDao) ConfigServiceRunner.getSpringApplicationContext().getBean("certificateDao"); resource = (CertificateService) BaseTestPlan.getService(ConfigServiceRunner.getRestAPIBaseURL(), CERT_SERVICE); } catch (Throwable t) { throw new RuntimeException(t); } }
@Override protected void setupMocks() { try { bundleDao = (TrustBundleDao) ConfigServiceRunner.getSpringApplicationContext().getBean("trustBundleDao"); resource = (TrustBundleService) BaseTestPlan.getService( ConfigServiceRunner.getRestAPIBaseURL(), TRUST_BUNDLE_SERVICE); } catch (Throwable t) { throw new RuntimeException(t); } }