Unit tests [VF 21.1 AgSDK]
When you implement unit tests for your task processor you will have to mock certain interfaces required by the underlying agent framework.
The Agent SDK already provides some mocked classes for several interfaces
AgentValidator.LoggerMock<T> for the ILogger<> interface
AgentValidator.FileSupervisorFactoryMock<T> for the IFileSupervisorFactory interface
AgentValidator.WorkflowParameterMock for the IWorkflowParameter interface
For all other interfaces, the Platform.Integrations.Agent.Validator Nuget package already includes the Moq framework which is easy to use.