@Override
  public synchronized void write(int b) throws IOException {
    mUfsOutStream.write(b);
    mBytesWritten++;
  }
@Test
  public void singleByteWrite() throws IOException, AlluxioException {
    byte byteToWrite = 5;
    AlluxioURI ufsPath = getUfsPath();
    try (FileOutStream outStream = mFileSystem.createFile(ufsPath)) {
      outStream.write(byteToWrite);
    }
    try (InputStream inputStream = mFileSystem.openFile(ufsPath)) {
      assertEquals(byteToWrite, inputStream.read());
    }
  }