public static void createTrustedCertificatesVolumes(List<Volume> volumeList, List<CertSecretSource> trustedCertificates, boolean isOpenShift) {
        createTrustedCertificatesVolumes(volumeList, trustedCertificates, isOpenShift, null);
    }
@Test
    public void testTrustedCertificatesVolumesWithPrefix()    {
        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<Volume> volumes = new ArrayList<>();
        CertUtils.createTrustedCertificatesVolumes(volumes, List.of(cert1, cert2, cert3), false, "prefixed");

        assertThat(volumes.size(), is(2));
        assertThat(volumes.get(0).getName(), is("prefixed-first-certificate"));
        assertThat(volumes.get(0).getSecret().getSecretName(), is("first-certificate"));
        assertThat(volumes.get(1).getName(), is("prefixed-second-certificate"));
        assertThat(volumes.get(1).getSecret().getSecretName(), is("second-certificate"));
    }