using w4c_workflows.Services.Nodes.Binary; namespace w4c_workflows.Tests; /// /// Builds an isolated in a fresh temp /// directory per call, so binary tests never share state or touch the repo. /// internal static class BinaryTestData { public static FileSystemBinaryStore Store(Action? configure = null) { var root = Path.Combine( Path.GetTempPath(), "w4c-binary-tests", Guid.NewGuid().ToString("N")); var options = new BinaryStoreOptions { RootPath = root }; configure?.Invoke(options); return new FileSystemBinaryStore(options); } }