MembershipTableTestFixture(string, Func<string, string, CancellationToken, ValueTask<MembershipTableTestHandle>>, Func<string, CancellationToken, ValueTask<bool>>, string?)
public MembershipTableTestFixture(string providerName, Func<string, string, CancellationToken, ValueTask<MembershipTableTestHandle>> factory, Func<string, CancellationToken, ValueTask<bool>> isDeletedAsync, string? serviceId = null)Creates a fixture. All handles use the same service ID and backend, but the supplied cluster ID.
Parameters
providerNamestring- The non-secret provider label used in diagnostics.
factoryFunc<string, string, CancellationToken, ValueTask<MembershipTableTestHandle>>- Creates an independently owned handle over the requested scope's current backend.
isDeletedAsyncFunc<string, CancellationToken, ValueTask<bool>>- Read-only native probe of the specified cluster's original backing state. Returns true when its membership data is deleted or its owner has terminally invalidated the store; returns false while seeded data remains. The probe runs before owner disposal, must preserve backend identity, and must propagate infrastructure failures. Persistent providers can inspect the same scope through independent backend access; terminal providers inspect native invalidation. The suite checks the probe against populated data before invoking deletion.
serviceIdstring?- The shared service ID.
