def METHOD_NAME(self):
    state = State("test", group_name="Test")
    assert state._state == "test"
    assert state._group_name == "Test"
    assert state._group is None
    with pytest.raises(RuntimeError):
        assert state.group == "Test"
    assert state.state == "Test:test"
    assert str(state) == "<State 'Test:test'>"