public void testEmpty_read_singleByte() {
      assertEquals(-1, file.read(0));
      assertEquals(-1, file.read(1));
    }
Actual test cases for testing RegularFiles.
jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java