@Test
public void testEncrypt() throws IOException {

	// encryption of password that contains no configuration info is using legacy
	// cryptography algorithm for backward compatibility.
	String encryptedPassword = PasswordUtils.encryptPassword("secretPasswordNoOneWillEverKnow");
	assertNotNull(encryptedPassword);
	assertEquals("ljoJ3gf4T018Xr+BujPAqBDW8Onp1PqprsLKmxus8pGGBETtAVU6OQ==", encryptedPassword);
}