@Override
  public void flush() throws IOException {
    mLocalOutputStream.flush();
  }
@Test
  public void flush() throws Exception {
    mStream.flush();
    mStream.close();
    assertEquals(mContentHash, mStream.getContentHash().get());
    Mockito.verify(mLocalOutputStream).flush();
  }