### Question:
DmaapClient { protected String deobfuscatePassword(String decrypted_key) { try { return new String(Base64.getDecoder().decode(decrypted_key.getBytes())); } catch (IllegalArgumentException iae) { logger.error("llegal Arguments", iae); return decrypted_key; } } DmaapClient(String filepath); abstract String getKey(); abstract String getAuth(); abstract String getTopic(); abstract Optional<String> getHost();  }### Answer:
@Test public void deobfuscateTest() throws FileNotFoundException, IOException { String encodedBase64 = "dGVzdHBhc3N3b3Jk"; String notEncoded = "testpassword"; DmaapConsumer consumer = new SDNOHealthCheckDmaapConsumer(); assertEquals("decoded password", notEncoded, consumer.deobfuscatePassword(encodedBase64)); }