VcsSslCertificateProvisioner implements ConfigurationProvisioner<KubernetesEnvironment> { public String getCertPath() { return CERT_MOUNT_PATH + CA_CERT_FILE; } VcsSslCertificateProvisioner(); @VisibleForTesting  VcsSslCertificateProvisioner(String certificate, String host); boolean isConfigured(); String getCertPath(); String getGitServerHost(); @Override void provision(KubernetesEnvironment k8sEnv, RuntimeIdentity identity);  }
@Test public void shouldReturnCertPathFile() { String certPath = provisioner.getCertPath(); assertEquals(certPath, "/etc/che/git/cert/ca.crt"); }