U.S. Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe AD0-E137 Exam - Topic 4 Question 18 Discussion

A developer has created a new Sling Model called Flarp. The developer wants to create a unit test for this Sling Model.What needs to be changed for the unit test to successfully test the getName method of the Flarp Sling Model?
A) Replace AemContext with SlingContext with ResourceResolverType of JCR_OAK.
B) Add an @Rule annotation before the line private final AemContext ctx = new AemContext();
C) Add a ctx.load().json() method call to get the node data.

Adobe AD0-E137 Exam - Topic 4 Question 18 Discussion

Actual exam question for Adobe's AD0-E137 exam
Question #: 18
Topic #: 4
[All AD0-E137 Questions]

A developer has created a new Sling Model called Flarp. The developer wants to create a unit test for this Sling Model.

What needs to be changed for the unit test to successfully test the getName method of the Flarp Sling Model?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel