DefaultGroupEmailReceiver extends AbstractEmailReceiver implements GroupEmailReceiver { @Override public EmailReceiverModel receivers(AlertEntity alert) { throw new UnsupportedOperationException("Not support by " + DefaultGroupEmailReceiver.class.getName()); } DefaultGroupEmailReceiver(ConsoleConfig consoleConfig, ConfigService configService, ClusterService clusterService); @Override Map<EmailReceiverModel, Map<ALERT_TYPE, Set<AlertEntity>>> getGroupedEmailReceiver(AlertEntityHolderManager alerts); @Override EmailReceiverModel receivers(AlertEntity alert);  }
@Test(expected = UnsupportedOperationException.class) public void receivers() { groupEmailReceiver.receivers(alert); }