def METHOD_NAME(self):
    with pytest.raises(DataGenError) as e:
        StructuredValue("this.that.foo", [], **line).render(standard_runtime())
    assert "only one" in str(e.value)
    with pytest.raises(DataGenError) as e:
        StructuredValue("bar", [], **line).render(standard_runtime())
    assert "Cannot find func" in str(e.value)
    assert "bar" in str(e.value)
    with pytest.raises(DataGenError) as e:
        StructuredValue("xyzzy.abc", [], **line).render(standard_runtime())
    assert "Cannot find defini" in str(e.value)
    assert "xyzzy" in str(e.value)
    with pytest.raises(DataGenError) as e:
        StructuredValue("this.abc", [], **line).render(standard_runtime())
    assert "Cannot find defini" in str(e.value)
    assert "abc" in str(e.value)