use of com.thoughtworks.go.domain.builder.pluggableTask.PluggableTaskBuilder in project gocd by gocd.
the class PluggableTaskBuilderCreatorTest method shouldCreatePluggableTaskBuilder.
@Test
public void shouldCreatePluggableTaskBuilder() throws Exception {
when(builderFactory.builderFor(pluggableTask.cancelTask(), pipeline, resolver)).thenReturn(null);
Builder builder = pluggableTaskBuilderCreator.createBuilder(builderFactory, pluggableTask, new Pipeline(), resolver);
assertThat(builder != null, is(true));
assertThat(builder instanceof PluggableTaskBuilder, is(true));
}
Aggregations