I noticed the lines below, which make me think you're using EasyMock.
After using EasyMock for a while, I came across Mockito (http://mockito.org). I'm now a Mockito convert - I like how you don't have to worry about replay(...) with Mockito, and it had fewer problems with an IDE "pre-evaluating" expressions while debugging (which leads to very misleading errors from EasyMock). Just wanted to mention it in case you hadn't heard of it.

Dan


+               TxnTable mockTxnTable = createNiceMock(TxnTable.class);
+               replay(mockTxnTable);

Reply via email to