use of com.cloudogu.scm.review.pullrequest.service.PullRequestEvent in project scm-review-plugin by scm-manager.
the class MailTextResolverTest method shouldRenderEmailOnCreatedPullRequest.
@Test
void shouldRenderEmailOnCreatedPullRequest() {
PullRequestEvent event = new PullRequestEvent(repository, pullRequest, oldPullRequest, HandlerEventType.CREATE);
PullRequestEventMailTextResolver renderer = new PullRequestEventMailTextResolver(event, false);
assertEmail(renderer, "created");
}
Aggregations