Search in sources :

Example 1 with EmailAlarmCallback

use of org.graylog2.alarmcallbacks.EmailAlarmCallback in project graylog2-server by Graylog2.

the class V20161125142400_EmailAlarmCallbackMigrationTest method setUp.

@Before
public void setUp() throws Exception {
    final User localAdmin = mock(User.class);
    when(localAdmin.getId()).thenReturn(localAdminId);
    when(userService.getAdminUser()).thenReturn(localAdmin);
    this.emailAlarmCallbackMigrationPeriodical = new V20161125142400_EmailAlarmCallbackMigration(clusterConfigService, streamService, alarmCallbackConfigurationService, emailAlarmCallback, userService);
}
Also used : User(org.graylog2.plugin.database.users.User) Before(org.junit.Before)

Aggregations

User (org.graylog2.plugin.database.users.User)1 Before (org.junit.Before)1