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 49bcbf42..932f76c3 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(){