Hi Som,
Looks like v1.9.0. There's a snippet from the toplevel pom on trunk:
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.9.0</version>
<scope>test</scope>
</dependency>
Cheers,
Will
On Tue, Apr 10, 2012 at 10:50 PM, shekhar sharma <[email protected]>wrote:
> 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
>
>