def METHOD_NAME(is_reset, pool, mocker):
    address = neo4j.Address(("127.0.0.1", 7687))
    quick_connection_name = QuickConnection.__name__
    is_reset_mock = mocker.patch(
        f"{__name__}.{quick_connection_name}.is_reset",
        new_callable=mocker.PropertyMock
    )
    reset_mock = mocker.patch(
        f"{__name__}.{quick_connection_name}.reset",
        new_callable=mocker.MagicMock
    )
    is_reset_mock.return_value = is_reset
    connection = pool._acquire(address, None, Deadline(3), None)
    assert isinstance(connection, QuickConnection)
    assert is_reset_mock.call_count == 0
    assert reset_mock.call_count == 0
    pool.release(connection)
    assert is_reset_mock.call_count == 1
    assert reset_mock.call_count == int(not is_reset)