use of com.thoughtworks.go.plugin.api.request.DefaultGoApiRequest in project gocd by gocd.
the class ServerInfoRequestProcessorTest method shouldRegisterAPIRequestWithProcessor.
@Test
public void shouldRegisterAPIRequestWithProcessor() throws Exception {
DefaultGoApiRequest request = new DefaultGoApiRequest(GET_SERVER_ID, "1.0", new GoPluginIdentifier("extension1", Collections.singletonList("1.0")));
assertThat(processorRegistry.canProcess(request), is(true));
}
Aggregations