use of com.blackducksoftware.integration.hub.alert.channel.slack.repository.global.GlobalSlackRepositoryWrapper in project hub-alert by blackducksoftware.
the class SlackChannelManagerTest method getChannelManager.
@Override
public SlackManager getChannelManager() {
final SlackChannel mockSlackChannel = Mockito.mock(SlackChannel.class);
final GlobalSlackRepositoryWrapper mockGlobalRepositoryWrapper = Mockito.mock(GlobalSlackRepositoryWrapper.class);
final SlackDistributionRepositoryWrapper mockSlackRepositoryWrapper = Mockito.mock(SlackDistributionRepositoryWrapper.class);
final SlackManager manager = new SlackManager(mockSlackChannel, mockGlobalRepositoryWrapper, mockSlackRepositoryWrapper, new ObjectTransformer());
return manager;
}
Aggregations