@Test public void validateCheckPassword() { assertTrue(resourceOwner.checkPassword(PASSWORD)); assertFalse(resourceOwner.checkPassword("bad")); }
public boolean checkPassword(String password) { return this.password.equals(password); }
ResourceOwner extends AbstractEntity { public boolean checkPassword(String password) { return this.password.equals(password); } }
ResourceOwner extends AbstractEntity { public boolean checkPassword(String password) { return this.password.equals(password); }  }
ResourceOwner extends AbstractEntity { public boolean checkPassword(String password) { return this.password.equals(password); }  String getUsername(); void setUsername(String name); void setPassword(String password); boolean checkPassword(String password); }
ResourceOwner extends AbstractEntity { public boolean checkPassword(String password) { return this.password.equals(password); }  String getUsername(); void setUsername(String name); void setPassword(String password); boolean checkPassword(String password);  }