    @Test(expected = Error.class)
    public void bigIntegerTestNegativeValue() {

        BigInteger value = new BigInteger("-10547363686064609352314090266141472461989948074031");
        ByteUtils.toByteArray(value);
    }