@Test
void loadSingleInvalidExtension() throws IOException {

    PrivateKeyLoader loader = new PrivateKeyLoader();
    createPrivateKeys(new Object[]{"key1", testPrivateKeyContent});
    assertThrows(ConfigLoadException.class, () -> loader.loadSingle("key1", new File(new File(config,
            "privateKeys"), "key1.pfx")));
}