- GetNotificationsServiceInputBuilder builder = new GetNotificationsServiceInputBuilder();
- builder.setGroupId("groupId");
- builder.setIdConsumer("consumerId");
- builder.setConnectionType(ConnectionType.Service);
- ListenableFuture<RpcResult<GetNotificationsServiceOutput>> result =
- nbiNotificationsImpl.getNotificationsService(builder.build());
- assertNull("Should be null", result.get().getResult().getNotificationService());
+ GetNotificationsProcessServiceInputBuilder builder = new GetNotificationsProcessServiceInputBuilder()
+ .setGroupId("groupId")
+ .setIdConsumer("consumerId")
+ .setConnectionType(ConnectionType.Service);
+ ListenableFuture<RpcResult<GetNotificationsProcessServiceOutput>> result =
+ nbiNotificationsImpl.getNotificationsProcessService(builder.build());
+ assertNull("Should be null", result.get().getResult().getNotificationsProcessService());
+ }
+
+ @Test
+ public void getNotificationsAlarmServiceTest() throws InterruptedException, ExecutionException {
+ GetNotificationsAlarmServiceInputBuilder builder = new GetNotificationsAlarmServiceInputBuilder()
+ .setGroupId("groupId")
+ .setIdConsumer("consumerId")
+ .setConnectionType(ConnectionType.Service);
+ ListenableFuture<RpcResult<GetNotificationsAlarmServiceOutput>> result =
+ nbiNotificationsImpl.getNotificationsAlarmService(builder.build());
+ assertNull("Should be null", result.get().getResult().getNotificationsAlarmService());