Path: redb/redb.Tests.Integration/Tests/Base/FreeQueryPlannerBlockTestsBase.cs Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Tests.Integration/Tests/Base/FreeQueryPlannerBlockTestsBase.cs ---- using redb.Core; using redb.Core.Query; namespace redb.Tests.Integration.Tests.Base; /// Free has no query planner: redb.WithQueryPlanner(bool) opens a block that changes nothing. public abstract class FreeQueryPlannerBlockTestsBase { protected readonly IRedbService Redb; protected FreeQueryPlannerBlockTestsBase(IRedbService redb) => Redb = redb; [Fact] public void Block_OnFree_ChangesNothing() { using (Redb.WithQueryPlanner(false)) { QueryPlannerScope.BlockValue.Should().BeNull("Free has no planner to switch"); using (Redb.WithQueryPlanner(true)) QueryPlannerScope.BlockValue.Should().BeNull(); } } }