@Test(expected = MismatchException.class)
public void testWrite_PartialBuffer_Fail() throws IOException {

  byte[] tweaked = new byte[] {0, 1, 2, 3, 4, 55, 6, 7, 8, 9};
  outputStream.write(tweaked, 0, 8);
}