use of com.thoughtworks.go.server.service.RestfulService in project gocd by gocd.
the class ArtifactsControllerTest method setUp.
@BeforeEach
public void setUp() {
consoleActivityMonitor = mock(ConsoleActivityMonitor.class);
restfulService = mock(RestfulService.class);
artifactService = mock(ArtifactsService.class);
consoleService = mock(ConsoleService.class);
jobInstanceDao = mock(JobInstanceDao.class);
systemEnvironment = mock(SystemEnvironment.class);
artifactsController = new ArtifactsController(artifactService, restfulService, mock(ZipArtifactCache.class), jobInstanceDao, consoleActivityMonitor, consoleService, systemEnvironment);
request = new MockHttpServletRequest();
}
Aggregations