From 301ffc4310b8be10acebfde45c077f317fe3d0a4 Mon Sep 17 00:00:00 2001 From: mynecker Date: Wed, 17 Jul 2024 15:14:36 +0200 Subject: [PATCH] added test case for standalone mode and error handling --- .../agent/scanManager/ScanManagerHandleErrorTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/service/application/src/test/java/com/solace/maas/ep/event/management/agent/scanManager/ScanManagerHandleErrorTest.java b/service/application/src/test/java/com/solace/maas/ep/event/management/agent/scanManager/ScanManagerHandleErrorTest.java index 49bcbf42d..932f76c3c 100644 --- a/service/application/src/test/java/com/solace/maas/ep/event/management/agent/scanManager/ScanManagerHandleErrorTest.java +++ b/service/application/src/test/java/com/solace/maas/ep/event/management/agent/scanManager/ScanManagerHandleErrorTest.java @@ -69,9 +69,9 @@ void testScanManagerStandaloneHandleError(){ Optional.empty() ); // should just do "nothing" and not throw an exception when scanStatusPublisher is not present - assertDoesNotThrow(() -> { - scanManagerUnderTest.handleError(mockEx, createScanCommandMessage()); - }); + assertDoesNotThrow(() -> + scanManagerUnderTest.handleError(mockEx, createScanCommandMessage())); + } private ScanCommandMessage createScanCommandMessage(){