use of com.thoughtworks.go.work.FakeWork in project gocd by gocd.
the class JobRunnerTest method setUp.
@Before
public void setUp() throws Exception {
runner = new JobRunner();
work = new FakeWork();
consoleOut = new ArrayList<>();
statesAndResult = new ArrayList<>();
properties = new ArrayList<>();
agentIdentifier = new AgentIdentifier("localhost", "127.0.0.1", "uuid");
new SystemEnvironment().setProperty("serviceUrl", SERVER_URL);
resolver = mock(UpstreamPipelineResolver.class);
}
Aggregations