@Test
public void canReadPrivateKeyWithNoPassword() throws IOException {

    // given
    KeyReader keyReader = new KeyReader();
    FileInputStream pemPKey = new FileInputStream(PEMCertInfoTest.TEST_KEY_PATH);
    // when
    PKCS8EncodedKeySpec keySpec = keyReader.readPrivateKey(pemPKey, Optional.ofNullable(""));
    // then
    Assert.assertNotNull(keySpec);
}