@Test
public void testLongToBytes() {

   ByteBuffer buffer = ByteBuffer.allocate(8);
   long randomLong = RandomUtil.randomLong();
   buffer.putLong(randomLong);
   byte[] longArrayAssert = buffer.array();
   byte[] convertedArray = ByteUtil.longToBytes(randomLong);
   assertArrayEquals(longArrayAssert, convertedArray);
}