code: def test_physicalobject_friction_validation():
      with pytest.raises(TraitError):
          obj = objects.PhysicalObject(friction=-1)
  
      obj = objects.PhysicalObject()
      with pytest.raises(TraitError):
          obj.friction = -2
  
      obj = objects.PhysicalObject()
      with pytest.raises(TraitError):
          obj.friction = 2
  
imports: import re
  import pytest
  import numpy
  from numpy.testing import assert_allclose
  import pyquaternion
  from traitlets import TraitError
  from unittest import mock
  from kubric.core import Asset
  from kubric.core import UndefinedAsset
  from kubric.core import objects
  from kubric.core import materials
label_desc: Use image node_id 21 for calling a global function with example usage: test_physicalobject_friction_validation() without return types