java.lang.IllegalStateException matchers expected exception using EasyMock

Hi All,
I am using the following code to unit test my method getNotes():

private INoteService noteService;
private INNNoteDAO nNNoteDAO;
private INNWorkBenchDAO benchDAO;


@Before
public void doBeforeEachTestCase() throws Exception {
loadConstants();
nNNoteDAO = createMock(INNNoteDAO.class);
benchDAO = createMock(INNWorkBenchDAO.class);
noteService = new NoteServiceImpl(nNNoteDAO, benchDAO);
}
@After
public void doAfterEachTestCase() {
noteService = null;
nNNoteDAO = null;
benchDAO = null;
}
@Test(expected = SystemException.class)
public final void testGetNotesEmptyTO() throws BusinessException, SystemException {
UserDataTO userDataO = new UserDataTO();
SystemException systemException = createMock(SystemException.class);
expect(nNNoteDAO.getNotes(userDataO)).andThrow(systemException);
replay(nNNoteDAO);
noteService.getNotes(userDataO);
verify(nNNoteDAO);
}

I am getting the following exception when I am doing a build using Maven:

Caused by: java.lang.IllegalStateException: 1 matchers expected, 24 recorded.
at org.easymock.internal.ExpectedInvocation.createMissingMatchers(ExpectedInvocation.java:45)
at org.easymock.internal.ExpectedInvocation.(ExpectedInvocation.java:37)
at org.easymock.internal.ExpectedInvocation.(ExpectedInvocation.java:29)
at org.easymock.internal.RecordState.invoke(RecordState.java:65)
at org.easymock.internal.MockInvocationHandler.invoke(MockInvocationHandler.java:27)
at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:61)
at $Proxy25.getNotes(Unknown Source)
at com.nature.nn.notes.service.NoteServiceImplTest.testGetNotesEmptyTO(NoteServiceImplTest.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:22)
... 20 more

The getNotes() method looks like following:

public List getNotes(UserDataTO userDataTO)
throws BusinessException, SystemException {
String xQuery = null;
String objectXml = null;
NNNote nNNote = null;
List nnNoteDataList = null;
String notesPath = null;

try {
logger.log(IAppLogger.INFO, "getNotes() Starts");
nnNoteDataList = new ArrayList();
nNNote = new NNNote(this, null);
notesPath = MarkLogicServiceImpl.getContentURI(
MarkLogicServiceImpl.CONTENT_TYPE_NOTE, userDataTO.getUserID(), "dummy.xml");
notesPath = notesPath.substring(0, notesPath.indexOf("dummy.xml"));
xQuery = "{ for $d in xdmp:directory(\""
+ notesPath + "\",\"infinity\") order by number($d/note/audit-info/modify-date) descending return ($d) }";
objectXml = markLogicService.executeQuery(xQuery);
if (!StringUtil.isNullOrEmpty(objectXml)) {
nnNoteDataList = nNNote.toObjectList(objectXml);
}
} catch (BusinessException exception) {
logger.log(IAppLogger.ERROR, exception.getMessage());
throw exception;
} catch (SystemException exception) {
logger.log(IAppLogger.ERROR, exception.getMessage());
throw exception;
} finally {
logger.log(IAppLogger.INFO, "getNotes() Ends");
}
return nnNoteDataList;
}

For last two days I am trying to find solution to this and not able to find anything. Can anybody please help me to find out what wrong I am doing?
Thanks for your time and help in advance.

Thanks,
Rajkumar