@Test
  public void testGetStreamForFileRead() throws StoreException, IOException {
    // Create test file
    File testFile = new File(tempDir, "test.txt");
    String content = "test data content";
    FileOutputStream fos = new FileOutputStream(testFile);
    fos.write(content.getBytes());
    fos.close();

    StoreFileChunk result = fileStore.readStoreFileChunkFromDisk(testFile.getName(), 0, content.length(), false);
    assertNotNull("Result should not be null", result);

    ByteBuffer buf = result.toBuffer();
    byte[] readContent = new byte[buf.remaining()];
    buf.get(readContent);
    assertEquals("Content should match", content, new String(readContent));
  }
Tests reading data from a file using getStreamForFileRead.
Verifies content is correctly read from specified offset.
ambry-store/src/test/java/com/github/ambry/store/FileStoreTest.java