@Test
void loadFromEnvironmentInvalidName() {

    CertificatesLoader loader = new CertificatesLoader(FileUtils.INSTANCE);
    Bundle bundle = new Bundle();
    assertThrows(ConfigLoadException.class, () -> loader.load(bundle, "cert1.cert", "CERTIFICATE"));
}