code: def setUp(self):
      # Construct initial scatter object
      self.scatter = go.Scatter(name="scatter A")
  
      # Assert initial state
      d1, d2 = strip_dict_params(
          self.scatter, {"type": "scatter", "name": "scatter A"}
      )
      assert d1 == d2
  
      # Construct expected results
      self.expected_toplevel = {
          "type": "scatter",
          "name": "scatter A",
          "marker": {"color": "yellow", "size": 10},
      }
  
      self.expected_nested = {
          "type": "scatter",
          "name": "scatter A",
          "marker": {"colorbar": {"bgcolor": "yellow", "thickness": 5}},
      }
  
imports: from unittest import TestCase
  import plotly.graph_objs
  from plotly.tests.utils import strip_dict_params
label_desc: Use image node_id 1 for calling the TestAssignmentCompound obj's underlying member method code with example usage: obj.setUp() without return types