Search in sources :

Example 1 with GlobalSlackRepositoryWrapper

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;
}
Also used : ObjectTransformer(com.blackducksoftware.integration.hub.alert.web.ObjectTransformer) GlobalSlackRepositoryWrapper(com.blackducksoftware.integration.hub.alert.channel.slack.repository.global.GlobalSlackRepositoryWrapper) SlackDistributionRepositoryWrapper(com.blackducksoftware.integration.hub.alert.channel.slack.repository.distribution.SlackDistributionRepositoryWrapper)

Aggregations

SlackDistributionRepositoryWrapper (com.blackducksoftware.integration.hub.alert.channel.slack.repository.distribution.SlackDistributionRepositoryWrapper)1 GlobalSlackRepositoryWrapper (com.blackducksoftware.integration.hub.alert.channel.slack.repository.global.GlobalSlackRepositoryWrapper)1 ObjectTransformer (com.blackducksoftware.integration.hub.alert.web.ObjectTransformer)1