using Elsa.Testing.Shared;
namespace Elsa.Workflows.IntegrationTests.Evaluation;
///
/// Shared test helpers for input evaluation tests.
///
public static class EvaluationTestHelpers
{
///
/// Creates an ActivityExecutionContext for any activity.
///
public static async Task CreateContextAsync(TActivity activity)
where TActivity : IActivity
{
var fixture = new ActivityTestFixture(activity);
return await fixture.BuildAsync();
}
}