Skip to content

Commit

Permalink
added test case for standalone mode and error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mynecker committed Jul 17, 2024
1 parent da4e9a6 commit 301ffc4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(){
Expand Down

0 comments on commit 301ffc4

Please sign in to comment.