@Override
  public synchronized void write(int b) throws IOException {
    mUfsOutStream.write(b);
    mBytesWritten++;
  }
@Test
  public void writeIncreasingByteArrayOffsetLen() throws IOException, AlluxioException {
    AlluxioURI ufsPath = getUfsPath();
    try (FileOutStream outStream = mFileSystem.createFile(ufsPath)) {
      outStream.write(BufferUtils.getIncreasingByteArray(CHUNK_SIZE), 0, CHUNK_SIZE);
    }
    verifyIncreasingBytesWritten(ufsPath, CHUNK_SIZE);
  }