def METHOD_NAME(mock_create_engine):
    connector = sqlalchemy_psycopg2_connector.SQLAlchemyPsycopg2Connector()
    connector.open()
    assert connector._engine_externally_set is False
    mock_create_engine.assert_called_once_with(
        connector._engine_dsn, connector._engine_kwargs
    )