public void TestTeardown() { MockArtifactQueries = null; MockLogger = null; MockServiceMgr = null; Sut = null; }
public void TestSetup() { // Creating the mocks MockArtifactQueries = new Mock <IArtifactQueries>(); MockLogger = new Mock <IAPILog>(); MockServiceMgr = new Mock <IServicesMgr>(); MockAgentHelper = new Mock <IAgentHelper>(); MockworkspaceDbContext = new Mock <IDBContext>(); Sut = new RelativityTestAgentJob(MockArtifactQueries.Object, MockLogger.Object, MockServiceMgr.Object, ExecutionIdentity.System, WorkspaceId, MockAgentHelper.Object); }