public void testMatches() {
PasswordEncryptor encryptor = createPasswordEncryptor();
assertTrue(encryptor.matches("foo", "foo"));
assertFalse(encryptor.matches("foo", "bar"));
}
public void testMatchesNullPasswordToCheck() {
PasswordEncryptor encryptor = createPasswordEncryptor();