kwin commented on code in PR #107:
URL: 
https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/107#discussion_r1404477462


##########
src/test/java/org/apache/sling/resourceresolver/impl/mapping/MapEntriesTest.java:
##########
@@ -161,8 +161,8 @@ public void setup() throws Exception {
 
         Optional<ResourceResolverMetrics> metrics = Optional.empty();
 
-        mapEntries = Mockito.spy(new MapEntries(resourceResolverFactory, 
bundleContext, eventAdmin, stringInterpolationProvider, metrics));
-        final Field aliasMapField = 
MapEntries.class.getDeclaredField("aliasMap");
+        mapEntries = /*Mockito.spy(*/new MapEntries(resourceResolverFactory, 
bundleContext, eventAdmin, stringInterpolationProvider, metrics);//);

Review Comment:
   @jsedding Do you have any idea why the spy was used here? I commented it to 
ease debugging and not having it didn't lead to any test failures.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to