def METHOD_NAME(not_opened_app, pool, connector):
    with not_opened_app.open(pool) as app:
        pass
    assert connector.states == ["open", "closed"]
    assert app is not_opened_app  # checks that open returns the app instance