@Test public void testCompare() { final String password = "******"; final String encrypted = encryptor.encrypt(password); assertThat(encryptor.compare(password, encrypted), is(true)); }
@Test public void testEncrypt() { logger.debug(encryptor.encrypt("cyber!@34")); logger.debug(encryptor.encrypt("@aleldjfhrm4")); }