code: def test_with_errors(self):
      errors = ["first", "second"]
      box = errors_box.ErrorsBox(errors=errors)
      assert box.get_state()["errors"] == errors
  
file_path: gmaps/gmaps/tests/test_errors_box.py
imports: import unittest
  import traitlets
  from ..None import errors_box
label_desc: Use image node_id 2 for calling the ErrorsBox obj's underlying member method code with example usage: obj.test_with_errors() without return types