113114115116117118119120121122123
} finally { logger.removeAppender(appender); logger.setLevel(origLevel); } Assert.assertTrue(appender.finishedPatterns()); } @Test public void testKeyFromIncorrectPropertyName() throws ForceEncryptionException { String[] testIncorrectFileName = {
137138139140141142143144145146147
} finally { logger.removeAppender(appender); logger.setLevel(origLevel); } Assert.assertTrue(appender.finishedPatterns()); } @Test public void testWrongKeyEncryption() throws NoSuchAlgorithmException, ForceEncryptionException { // Generate the key