def METHOD_NAME():
    inner_analysis = BaseAnalysis(a=1, b=2)
    outer_analysis = BaseAnalysis(b=3, c=4, children=[inner_analysis])
    with pytest.raises(AssertionError):
        inner_analysis.fit()
    state = outer_analysis.fit()
    assert state is not None