private static JimfsInputStream newInputStream(int... bytes) throws IOException {
    byte[] b = new byte[bytes.length];
    for (int i = 0; i < bytes.length; i++) {
      b[i] = (byte) bytes[i];
    }

    RegularFile file = regularFile(0);
    file.write(0, b, 0, b.length);
    return new JimfsInputStream(
        file, new FileSystemState(new FakeFileTimeSource(), Runnables.doNothing()));
  }
Tests for {@link JimfsInputStream}.

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