I'm writing a Junit test case for a resourceType servlet. A configuration is referenced like below in the servlet. @referenceSessionMgmtConfigService config; And during runtime, we are checking the below condition - if(!pagePath.contains(config.getProjectContentPath())) where pagePath is one of the ...