Files
mROA/mROA/Implementation/Test/MockExecModule.cs
T

16 lines
427 B
C#
Raw Normal View History

2025-02-03 10:06:05 +03:00
namespace mROA.Implementation.Test;
2025-01-12 00:43:51 +03:00
public class MockExecModule : IExecuteModule
{
public ICommandExecution Execute(ICallRequest command)
{
return new FinalCommandExecution
2025-02-03 10:06:05 +03:00
{ CommandId = command.CommandId, Result = new MockResult { A = "wqer", B = 5 }, CallRequestId = command.CallRequestId };
2025-01-12 00:43:51 +03:00
}
2025-02-03 10:06:05 +03:00
}
public class MockResult
{
public string A { get; set; }
public int B { get; set; }
2025-01-12 00:43:51 +03:00
}