### Question:
ByteUtils { public static byte[] toByteArray(BigInteger value) { return toByteArray(value, -1); }  static boolean equals(byte[] a, byte b[]); static byte[] toByteArray(BigInteger value); static byte[] toByteArray(double value); static byte[] toByteArray(long value); static byte[] toByteArray(byte[]... items); static BigInteger toBigInteger(byte[] input); static byte[] toByteArray(BigInteger input, int fixedSize); static int compare(byte[] a, byte[] b); static String toByteString(byte[] value); static String toByteString(byte[] value, boolean signed); static boolean isContainNullOrEmpty(byte[]... values);  }### Answer:
@Test(expected = Error.class) public void bigIntegerTestNegativeValue() { BigInteger value = new BigInteger("-10547363686064609352314090266141472461989948074031"); ByteUtils.toByteArray(value); }