def METHOD_NAME(caplog, _instance):
    _instance._config.state.change_state("created", False)
    with pytest.raises(SystemExit) as e:
        _instance.execute()
    assert e.value.code == 1
    msg = "Instances not created.  Please create instances first."
    assert msg in caplog.text