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