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