Hi,I have tried this and it is not working. I am also doing the similar
implementation.I have mocked both the jcrSession and Jackrabbit
session.can you please elaborate the below discussion little, i am not
getting what he is trying to
tell.https://stackoverflow.com/questions/28462611/mockito-classcastexception-a-mock-cannot-be-c
ast