Are you looking for something similar to this:
http://stackoverflow.com/questions/1827677/how-to-do-a-junit-assert-on-a-message-in-a-logger
Sent from my iPhone

On Jan 9, 2016, at 09:06, DAVID SMITH 
<davidrsm...@btinternet.com<mailto:davidrsm...@btinternet.com>> wrote:

Hi
Does anyone know how to test for logging messages generated by my processors in 
my Juint tests for that processor?I am trying to determine whilst testing my 
processor if I have entered an exception, where I would just normally log a 
warning or an Error but necessarily end up on the failure relationship.
Is there a good example of this anywhere within the current codebase?
Many thanksDave

Reply via email to