@Test
  public void testWrite_partialArray_overwriting() throws IOException {
    JimfsOutputStream out = newOutputStream(false);
    addBytesToStore(out, 9, 8, 7, 6, 5, 4, 3);
    out.write(new byte[] {1, 2, 3, 4, 5, 6}, 1, 3);
    assertStoreContains(out, 2, 3, 4, 6, 5, 4, 3);
  }
Tests for {@link JimfsOutputStream}.

@author Colin Decker
jimfs/src/test/java/com/google/common/jimfs/JimfsOutputStreamTest.java