@Test
void testInvalidFilePath() {

    AzureClientIdCertificateCredentialFactoryImpl factory =
        new AzureClientIdCertificateCredentialFactoryImpl(clientId,
        keystorePath, keystorePassword, certificatePassword);
    Assertions.assertThrows(GeneralSecurityException.class,
        () -> factory.create("resource"));
}