@Test
public void testDecodeWithCheck() throws IOException {

  assertTrue(
      Arrays.equals(DECODED_WITH_CHECKSUM, Base58Utils.decodeWithCheck(ENCODED_WITH_CHECKSUM)));
  assertTrue(Arrays.equals(new byte[0], Base58Utils.decodeWithCheck("")));
  assertTrue(Arrays.equals(new byte[0], Base58Utils.decodeWithCheck(null)));
}