diff options
Diffstat (limited to 'components/slice-analysis-ms/src/test/java/org/onap/slice/analysis/ms/dmaap/NotificationProducerTest.java')
-rw-r--r-- | components/slice-analysis-ms/src/test/java/org/onap/slice/analysis/ms/dmaap/NotificationProducerTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/slice-analysis-ms/src/test/java/org/onap/slice/analysis/ms/dmaap/NotificationProducerTest.java b/components/slice-analysis-ms/src/test/java/org/onap/slice/analysis/ms/dmaap/NotificationProducerTest.java index d39c0af6..03a57b9e 100644 --- a/components/slice-analysis-ms/src/test/java/org/onap/slice/analysis/ms/dmaap/NotificationProducerTest.java +++ b/components/slice-analysis-ms/src/test/java/org/onap/slice/analysis/ms/dmaap/NotificationProducerTest.java @@ -4,6 +4,7 @@ * ================================================================================ * Copyright (C) 2020 Wipro Limited. * Copyright (C) 2022 CTC, Inc. + * Copyright (C) 2023 Huawei Technologies Co., Ltd. All rights reserved. * ============================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -61,9 +62,7 @@ public class NotificationProducerTest { .builder().items(expectedItems.map(JsonPrimitive::new)) .build(); Flux<MessageRouterPublishResponse> responses = Flux.just(expectedResponse); -// Flux<JsonPrimitive> singleMessage = Flux.just("msg").map(JsonPrimitive::new); when(publisher.put(any(), any())).thenReturn(responses); - notificationProducer.sendNotification("msg"); } } |