code: def bar(self):
      return {"bar2": 2}
  
file_path: icevision/tests/core/test_composite.py
imports: import pytest
  from icevision.all import *
label_desc: Use image node_id 2 for calling the MockComponent2 obj's underlying member method code with example usage: obj.bar() and returns: dict