@Test
public void testGetAddress() throws Exception {

    String[] version = new String[]{"00", "AF", "EA", "21"};
    String addresschecksum = "953ABC69";
    MultiChainAddressGenerator generator = new MultiChainAddressGenerator();
    String pubKey = "0284E5235E299AF81EBE1653AC5F06B60E13A3A81F918018CBD10CE695095B3E24";
    byte[] keybytes = Util.hexStringToByteArray(pubKey);
    String address = generator.getPublicAddress(version, addresschecksum, keybytes);
    assertEquals(address, "1Yu2BuptuZSiBWfr2Qy4aic6qEVnwPWrdkHPEc");
}