use of com.synopsys.integration.alert.api.channel.issue.search.enumeration.IssueStatus in project hub-alert by blackducksoftware.
the class JiraIssueStatusCreatorTest method createIssueStatusResolvableTest.
@Test
public void createIssueStatusResolvableTest() {
// The transition is used instead of the issueKey which is normally used to get the transition states from Jira
JiraSearcherResponseModel jiraSearcherResponseModel = new JiraSearcherResponseModel(null, resolveTransition, null, null);
IssueStatus issueStatus = jiraIssueStatusCreator.createIssueStatus(jiraSearcherResponseModel, this::fetchIssueTransitions);
assertEquals(IssueStatus.RESOLVABLE, issueStatus);
}
Aggregations