### Question:
Address implements UnresolvedAddress { public String plain() { return this.plainAddress; } Address(String prettyOrRaw, NetworkType networkType); static Address createFromRawAddress(String rawAddress); static Address createFromEncoded(String encodedAddress); static Address createFromPublicKey(String publicKey, NetworkType networkType); static boolean isValidPlainAddress(String plainAddress); static boolean isValidEncodedAddress(String encodedAddress); static Optional<String> validateEncodedAddress(String encodedAddress); static Optional<String> validatePlainAddress(String plainAddress); static Address generateRandom(NetworkType networkType); String plain(); NetworkType getNetworkType(); @Override String encoded(NetworkType networkType); String encoded(); String pretty(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test void testAddressCreation() { Address address = new Address("TDGRZD-ZEHD4M-5K3JIT-64DU3P-EKFYNF-5VWFEY-DQA", NetworkType.TEST_NET); assertEquals("TDGRZDZEHD4M5K3JIT64DU3PEKFYNF5VWFEYDQA", address.plain()); }