code: def test_boolean_intersect_edge_case():
      a = pv.Cube(x_length=2, y_length=2, z_length=2).triangulate()
      b = pv.Cube().triangulate()  # smaller cube (x_length=1)
  
      with pytest.warns(UserWarning, match="contained within another"):
          a.boolean_intersection(b)
  
imports: import pytest
  import pyvista
  from pyvista.core.errors import MissingDataError
label_desc: Use image node_id 3 for calling a global function with example usage: test_boolean_intersect_edge_case() without return types