use of com.synopsys.integration.alert.common.channel.issuetracker.message.IssueTrackerCallbackInfo in project hub-alert by blackducksoftware.
the class IssueTrackerIssueResponseCreatorTest method createIssueResponseWithCallbackInfoTest.
@Test
public void createIssueResponseWithCallbackInfoTest() {
IssueTrackerCallbackInfo callbackInfo = Mockito.mock(IssueTrackerCallbackInfo.class);
IssueTrackerCallbackInfoCreator callbackInfoCreator = Mockito.mock(IssueTrackerCallbackInfoCreator.class);
Mockito.when(callbackInfoCreator.createCallbackInfo(Mockito.any())).thenReturn(Optional.of(callbackInfo));
ProjectIssueModel source = Mockito.mock(ProjectIssueModel.class);
runTest(source, callbackInfoCreator);
}
Aggregations