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.
Currently there are no comments in this discussion, be the first to comment!