@Test
public void testToHexStringWithPrefixZeroPadded() {

    assertThat(
            Numeric.toHexStringWithPrefixZeroPadded(
                    BigInteger.ZERO,
                    5),
            is("0x00000"));
    assertThat(
            Numeric.toHexStringWithPrefixZeroPadded(
                    new BigInteger("01c52b08330e05d731e38c856c1043288f7d9744", 16),
                    40),
            is("0x01c52b08330e05d731e38c856c1043288f7d9744"));
    assertThat(
            Numeric.toHexStringWithPrefixZeroPadded(
                    new BigInteger("01c52b08330e05d731e38c856c1043288f7d9744", 16),
                    40),
            is("0x01c52b08330e05d731e38c856c1043288f7d9744"));
}