Hi All, I have class like this which is using the constructor, can anyone please suggest me how to write a JUNIT for the constructor. public class ABCModel extends XYZlManagerModel { public ABCModel(String pagePath, Resource resource, LabelManagerFactoryConfig config) { super(pagePath, resource, config); } protected XYZManagerModel(String pagePath, Resource resource, LabelManagerFactoryConfig config) { this.resource = resource; this.resolver = resource.getResourceResolver(); this.platformConfig = LabelManagerUtils.getCurrentConfig(pagePath, config); this.dictionaryPath = buildDictionaryPath(pagePath); } public abstract String buildDictionaryPath(String pagePath); Thanks in Advance.
... View more