// Copyright (c) Microsoft. All rights reserved. using System.IO; namespace Microsoft.Agents.AI.Foundry.Hosting.UnitTests; /// /// Utility class for loading toolbox-related test data files. /// internal static class TestDataUtil { private static readonly string s_toolboxRecordResponseJson = File.ReadAllText("TestData/ToolboxRecordResponse.json"); private static readonly string s_toolboxVersionResponseJson = File.ReadAllText("TestData/ToolboxVersionResponse.json"); private static readonly string s_toolboxVersionWithDecorationFieldsJson = File.ReadAllText("TestData/ToolboxVersionWithDecorationFields.json"); /// /// Gets the toolbox record response JSON. /// public static string GetToolboxRecordResponseJson() => s_toolboxRecordResponseJson; /// /// Gets the toolbox version response JSON. /// public static string GetToolboxVersionResponseJson() => s_toolboxVersionResponseJson; /// /// Gets the toolbox version response JSON with decoration fields on tools. /// public static string GetToolboxVersionWithDecorationFieldsJson() => s_toolboxVersionWithDecorationFieldsJson; }