Account implements Serializable { public String getPassword() { return password; } Account(Dictionary<?, ?> properties);  Account(String host, String login, String password); String getHost(); String getLogin(); String getPassword(); @Override String toString(); static final String OPT_HOST; static final String OPT_LOGIN; static final String OPT_PASSWORD; }
@Test public void testGetPassword() { assertEquals(password, account.getPassword()); }