private BytesWritable getInputBytesWritable() {
    //create input BytesWritable. This would have capacity greater than length)
    BytesWritable bW = new BytesWritable();
    bW.set(inpBArray, 0, inpBArray.length);
    return bW;
  }
The test entrance function.

@throws Throwable
serde/src/test/org/apache/hadoop/hive/serde2/lazybinary/TestLazyBinarySerDe.java