I am having code for logging exception trace in case of any exception occurs in flow.
private void logExceptionStackTrace(Throwable throwable) { logger.error(throwable.getMessage() + " <==> " + ExceptionUtils.getFullStackTrace(throwable)); }
I want to write junit test cases covering above code.
I have passed parameters to my flow in such a way that NullPointer Exception will occur.
Regards Aditya