use of com.thoughtworks.go.server.dao.JobAgentMetadataDao in project gocd by gocd.
the class JobControllerTest method setUp.
@BeforeEach
public void setUp() throws Exception {
jobInstanceService = mock(JobInstanceService.class);
jobInstanceDao = mock(JobInstanceDao.class);
jobConfigService = mock(GoConfigService.class);
agentService = mock(AgentService.class);
stageService = mock(StageService.class);
response = new MockHttpServletResponse();
systemEnvironment = mock(SystemEnvironment.class);
pipelineService = mock(PipelineService.class);
restfulService = mock(RestfulService.class);
jobAgentMetadataDao = mock(JobAgentMetadataDao.class);
securityService = mock(SecurityService.class);
jobController = new JobController(jobInstanceService, agentService, jobInstanceDao, jobConfigService, pipelineService, restfulService, null, stageService, jobAgentMetadataDao, systemEnvironment, securityService);
}
Aggregations