- nbiNotificationsImpl.createNotificationSubscriptionService(builder.build());
- assertNull(nbiNotificationsImpl.getNotificationList(new GetNotificationListInputBuilder()
- .setTimeRange(null)
- .setSubscriptionId(result.get().getResult().getSubscriptionService().getUuid())
- .build())
- .get().getResult().getNotification(), "Should be null");
+ new CreateNotificationSubscriptionServiceImpl(nbiNotifications, topicManager)
+ .invoke(NotificationServiceDataUtils.buildNotificationSubscriptionServiceInputBuilder().build());
+ ListenableFuture<RpcResult<GetNotificationListOutput>> result2 =
+ new GetNotificationListImpl(converterTapi, "localhost:8080", networkTransactionService, topicManager)
+ .invoke(new GetNotificationListInputBuilder()
+ .setTimeRange(null)
+ .setSubscriptionId(result.get().getResult().getSubscriptionService().getUuid())
+ .build());
+ assertNull(result2.get().getResult().getNotification(), "Should be null");