def METHOD_NAME(self):
    # Arrange
    uuid = UUID4()
    event = ComponentStateChanged(
        trader_id=TestIdStubs.trader_id(),
        component_id=ComponentId("MyActor-001"),
        component_type="MyActor",
        state=ComponentState.RUNNING,
        config={"do_something": True},
        event_id=uuid,
        ts_event=0,
        ts_init=0,
    )
    # Act, Assert
    assert ComponentStateChanged.from_dict(ComponentStateChanged.to_dict(event)) == event
    assert (
        str(event)
        == f"ComponentStateChanged(trader_id=TESTER-000, component_id=MyActor-001, component_type=MyActor, state=RUNNING, config={{'do_something': True}}, event_id={uuid})"  # noqa
    )
    assert (
        repr(event)
        == f"ComponentStateChanged(trader_id=TESTER-000, component_id=MyActor-001, component_type=MyActor, state=RUNNING, config={{'do_something': True}}, event_id={uuid}, ts_init=0)"  # noqa
    )