@Test
void loadSingleInvalidExtension() throws IOException {

    CertificatesLoader loader = new CertificatesLoader(FileUtils.INSTANCE);
    createCertificates("cert1.cerT");
    assertThrows(ConfigLoadException.class, () -> loader.loadSingle("cert1", new File(certsDir, "cert1.cerT")));
}