Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

indrajithp11346
indrajithp11346
Offline

Badges

Badges
6

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
1

Posts

Posts
8

Discussions

Discussions
3

Questions

Questions
5

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by indrajithp11346
Customize the badges you want to showcase on your profile
Re: Mock Casting of jcr Session to Jackrabbit Session - (JackrabbitSession) session - Adobe Experience Manager 13-11-2019
I would refactor the code in a way, that the cast to the JackrabbitSession plus all dependent functionality is separated in a dedicated method, and then stub this method with Mockito completely.(Also I would recommend to use SlingContext, so you don't need to mock resources and nodes. See [1] for a sample.)[1] https://cqdump.wordpress.com/2019/01/17/writing-unittests-for-aem-part-3-mocking-resources/

Views

2.9K

Likes

0

Replies

0
Re: Delete User UUID Reference from Group - Adobe Experience Manager 02-08-2019
Hi Arun, Thank you for your help.Regards,Indrajith

Views

498

Likes

0

Replies

0
Likes given to
Likes from