use of com.cloudogu.scm.review.pullrequest.service.PullRequestRejectedEvent in project scm-review-plugin by scm-manager.
the class MailTextResolverTest method shouldRenderEmailOnRejectedPullRequest.
@Test
void shouldRenderEmailOnRejectedPullRequest() {
PullRequestRejectedEvent event = new PullRequestRejectedEvent(repository, pullRequest, PullRequestRejectedEvent.RejectionCause.REJECTED_BY_USER);
PullRequestRejectedMailTextResolver renderer = new PullRequestRejectedMailTextResolver(event);
assertEmail(renderer, "rejected");
}
Aggregations