@@ -0,0 +1,522 @@
+package tachyon.worker.keyvalue;%0A%0Aimport java.io.ByteArrayOutputStream;%0A%0A/**%0A * Collection of util classes/functions for key-value related tests.%0A */%0Apublic class Utils %7B%0A  /**%0A   * A mock class to capture output of %7B@link PayloadWriter%7D%0A   */%0A  public static class MockOutputStream extends ByteArrayOutputStream %7B%0A    public MockOutputStream(int size) %7B%0A      super(size);%0A    %7D%0A%0A    /**%0A     * @return the number of bytes written to this output stream%0A     */%0A    public int getCount() %7B%0A      return count;%0A    %7D%0A  %7D%0A%7D%0A

Add Utils shared among key-value unit tests