### Question:
PublicAccount { public static PublicAccount createFromPublicKey(String publicKey, NetworkType networkType) { return new PublicAccount(publicKey, networkType); } PublicAccount(String publicKey, NetworkType networkType); static PublicAccount createFromPublicKey(String publicKey, NetworkType networkType); @Override boolean equals(Object o); @Override int hashCode(); Address getAddress(); PublicKey getPublicKey();  }### Answer:
@Test public void testAddresses() { assertAddress(Address.createFromRawAddress(plain)); assertAddress(Address.createFromRawAddress(pretty)); assertAddress(Address.createFromPublicKey(publicKey, networkType)); assertAddress(Address.createFromEncoded(encoded)); }