### Question:
PlainPasswordEncoder implements PasswordEncoder { @Override public boolean matches(CharSequence rawPassword, String encodedPassword) { return rawPassword.equals(encodedPassword); }  @Override String encode(CharSequence rawPassword); @Override boolean matches(CharSequence rawPassword, String encodedPassword);  }### Answer:
@Test public void testMatches() { System.out.println("matches"); CharSequence rawPassword = "test"; String encodedPassword = "test"; boolean result = instance.matches(rawPassword, encodedPassword); assertTrue(result); }