use of com.thoughtworks.go.server.service.ConsoleActivityMonitor in project gocd by gocd.
the class ArtifactsControllerTest method setUp.
@Before
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