public class PullRequestConsumerTest extends GitHubComponentTestBase {
protected static final Logger LOG = LoggerFactory.getLogger(PullRequestConsumerTest.class);
@Override
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
@Override
public void configure() throws Exception {
context.addComponent("github", new GitHubComponent());
from("github://pullRequest?" + GITHUB_CREDENTIALS_STRING)