Hi,
I would like to know which version of mockito.jar is being used in
Flume-trunk (NG)?

 Since when building the project in eclipse, i got an error in the file
TestHDFSEventSink.java, line number 535, Code is
"when(channel.take()).then(new Answer<Event>() { ... });"
 and the error i got is "Method "then" is undefined for
OnGoingStubbing<Event> ?

I am using "mockito-all-1.8.4.jar" and in that "then" method is not defined
and i have changed to thenAnswer, and it was fine.

Regards,
Som Shekhar Sharma

Reply via email to