use of com.thoughtworks.go.server.service.PipelineInstanceLoader in project gocd by gocd.
the class BackgroundStageLoaderTest method setup.
@Before
public void setup() {
stageFeedsReader = mock(StageAtomFeedsReader.class);
pipelineInstanceLoader = mock(PipelineInstanceLoader.class);
systemEnvironment = mock(SystemEnvironment.class);
backgroundStageLoader = new BackgroundStageLoader(stageFeedsReader, mock(StageResourceImporter.class), mock(StageStorage.class), pipelineInstanceLoader, mock(StageService.class), systemEnvironment);
listener = new BackgroundStageLoaderStageStatusListener(backgroundStageLoader, systemEnvironment);
stage = new Stage();
jobInstances = mock(JobInstances.class);
}
Aggregations