use of com.thoughtworks.go.domain.builder.StubBuilder in project gocd by gocd.
the class BuildersTest method shouldNotCancelAnythingIfAllBuildersHaveRun.
@Test
public void shouldNotCancelAnythingIfAllBuildersHaveRun() throws Exception {
EnvironmentVariableContext environmentVariableContext = new EnvironmentVariableContext();
Builder builder = new StubBuilder(new RunIfConfigs(ANY));
Builders builders = new Builders(Collections.singletonList(builder), new StubGoPublisher(), null, null, null);
builders.build(environmentVariableContext, "utf-8");
builders.cancel(environmentVariableContext, "utf-8");
}
Aggregations