public static void createTrustedCertificatesVolumeMounts(List<VolumeMount> volumeMountList, List<CertSecretSource> trustedCertificates, String tlsVolumeMountPath) {
        createTrustedCertificatesVolumeMounts(volumeMountList, trustedCertificates, tlsVolumeMountPath, null);
    }
@Test
    public void testTrustedCertificatesVolumeMountsWithPrefix()    {
        CertSecretSource cert1 = new CertSecretSourceBuilder()
                .withSecretName("first-certificate")
                .withCertificate("ca.crt")
                .build();

        CertSecretSource cert2 = new CertSecretSourceBuilder()
                .withSecretName("second-certificate")
                .withCertificate("tls.crt")
                .build();

        CertSecretSource cert3 = new CertSecretSourceBuilder()
                .withSecretName("first-certificate")
                .withCertificate("ca2.crt")
                .build();

        List<VolumeMount> mounts = new ArrayList<>();
        CertUtils.createTrustedCertificatesVolumeMounts(mounts, List.of(cert1, cert2, cert3), "/my/path/", "prefixed");

        assertThat(mounts.size(), is(2));
        assertThat(mounts.get(0).getName(), is("prefixed-first-certificate"));
        assertThat(mounts.get(0).getMountPath(), is("/my/path/first-certificate"));
        assertThat(mounts.get(1).getName(), is("prefixed-second-certificate"));
        assertThat(mounts.get(1).getMountPath(), is("/my/path/second-certificate"));
    }