Hi Sandeep, Thanks for your reply. I tried like this, as you mentioned :@Mockprivate ResourceResolver resolver;@Mockprivate ResourceResolverFactory resolverFactory; void test() throws RepositoryException, JSONException, ServletException, IOException{Map<String, Object> params = new HashMap<>();param...