code: def test_parentItem():
      parent = GLGraphicsItem()
      child = GLBarGraphItem(
          np.ndarray([0, 0, 0]),
          np.ndarray([0, 0, 0]),
          parentItem=parent,
      )
      ensure_parentItem(parent, child)
  
imports: import pytest
  import numpy
  from pyqtgraph.opengl.GLGraphicsItem import GLGraphicsItem
  from pyqtgraph.opengl import GLBarGraphItem
  from common import ensure_parentItem
label_desc: Use image node_id 1 for calling a global function with example usage: test_parentItem() without return types