code: def test_volume_data():
      """Sanity testing of the VolumeData class."""
      vol = VolumeData()
      # Test that the repr doesn't raise an error
      repr(vol)
  
      # Check the non-implemented interface
      pytest.raises(NotImplementedError, vol.values_in_world, 0, 0, 0)
  
      pytest.raises(NotImplementedError, vol.as_volume_img)
  
      pytest.raises(NotImplementedError, copy.copy, vol)
  
imports: import copy
  import pytest
  from ..volume_data import VolumeData
label_desc: Use image node_id 1 for calling a global function with example usage: test_volume_data() without return types