@Override
    public X509Certificate[] getAcceptedIssuers() {
        return trustManager.getAcceptedIssuers();
    }
@Test(dataProvider = "caDataProvider")
    public void testLoadCA(String path, int count) {
        String caPath = Resources.getResource(path).getPath();

        @Cleanup("shutdownNow")
        ScheduledExecutorService scheduledExecutor = Executors.newSingleThreadScheduledExecutor();
        TrustManagerProxy trustManagerProxy =
                new TrustManagerProxy(caPath, 120, scheduledExecutor);
        X509Certificate[] x509Certificates = trustManagerProxy.getAcceptedIssuers();
        assertNotNull(x509Certificates);
        assertEquals(Arrays.stream(x509Certificates).count(), count);
    }