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