code: def test_get_batch(self, time_mock):
      # given
      time_mock.side_effect = list(range(1234, 1234 + 90))
  
      with TemporaryDirectory() as dirpath:
          queue = DiskQueue[TestDiskQueue.Obj](
              Path(dirpath),
              self._serializer,
              self._deserializer,
              threading.RLock(),
              max_file_size=100,
          )
          for i in range(1, 91):
              obj = TestDiskQueue.Obj(i, str(i))
              queue.put(obj)
          queue.flush()
          self.assertEqual(
              queue.get_batch(25),
              [
                  self.get_queue_element(
                      TestDiskQueue.Obj(i, str(i)), i, 1234 + i - 1
                  )
                  for i in range(1, 26)
              ],
          )
          self.assertEqual(
              queue.get_batch(25),
              [
                  self.get_queue_element(
                      TestDiskQueue.Obj(i, str(i)), i, 1234 + i - 1
                  )
                  for i in range(26, 51)
              ],
          )
          self.assertEqual(
              queue.get_batch(25),
              [
                  self.get_queue_element(
                      TestDiskQueue.Obj(i, str(i)), i, 1234 + i - 1
                  )
                  for i in range(51, 76)
              ],
          )
          self.assertEqual(
              queue.get_batch(25),
              [
                  self.get_queue_element(
                      TestDiskQueue.Obj(i, str(i)), i, 1234 + i - 1
                  )
                  for i in range(76, 91)
              ],
          )
          queue.close()
  
imports: import json
  import random
  import threading
  import unittest
  from glob import glob
  from pathlib import Path
  from tempfile import TemporaryDirectory
  from typing import Optional
  from unittest.mock import patch
  from neptune.internal.disk_queue import DiskQueue, QueueElement
label_desc: Use image node_id 5 for calling the TestDiskQueue obj's underlying member method code with example usage: obj.test_get_batch(time_mock) without return types