code: def test_data_size(self):
      object1 = """{
                  "a": 5,
                  "b": "text"
              }"""
      object2 = """{
                  "a": 155,
                  "r": "something"
              }"""
      object3 = """{
                  "a": {
                      "b": [1, 2, 3]
                  }
              }"""
      content1 = """
              {
                  "a": 5,
                  "b": "text"
              }
              {
                  "a": 1"""
  
      content2 = """55,
                  "r": "something"
              }
              {
                  "a": {
                      "b": [1, 2, 3]
                  }
              }"""
  
      with create_file(content1) as filename, open(filename, "a") as fp:
          splitter = JsonFileSplitter(filename)
          self.assertEqual(
              splitter.get_with_size(),
              ({"a": 5, "b": "text"}, len(object1)),
          )
          self.assertIsNone(splitter.get_with_size()[0])
          fp.write(content2)
          fp.flush()
          self.assertEqual(
              splitter.get_with_size(),
              ({"a": 155, "r": "something"}, len(object2)),
          )
          self.assertEqual(
              splitter.get_with_size(),
              ({"a": {"b": [1, 2, 3]}}, len(object3)),
          )
          self.assertIsNone(splitter.get_with_size()[0])
          splitter.close()
  
file_path: neptune-client/tests/unit/neptune/new/internal/utils/test_json_file_splitter.py
imports: import unittest
  from neptune.internal.utils.json_file_splitter import JsonFileSplitter
  from tests.unit.neptune.new.utils.file_helpers import create_file
label_desc: Use image node_id 5 for calling the TestJsonFileSplitter obj's underlying member method code with example usage: obj.test_data_size() without return types