PasswordEncoderImpl implements PasswordEncoder { @Override public boolean matches(@NonNull String rawPassword, @NonNull String encodedPassword) { String password = keyStore.decryptString(encodedPassword, Constants.ALIAS_PASSWORD_KEY); return this.updatableBCrypt.verifyHash(rawPassword, password); } PasswordEncoderImpl(CustomPreference customPreference, KeyStore keyStore, UpdatableBCrypt updatableBCrypt); void init(); @Override String encode(@NonNull String rawPassword); @Override boolean matches(@NonNull String rawPassword, @NonNull String encodedPassword);  }
@Test public void matches() { }