Hi All,
I was creating AEM package programattically for a usecase. while writing the test case for create package method im getting NPE, though all param was not null. Kinldy help on mocking below method for Junit.
method needs to be mocked below :
packageHelper.createPackage(packageResource, session,PageConstants.DEFAULT_GROUP_NAME, "testPackage", PageConstants.DEFAULT_VERSION,
PackageHelper.ConflictResolution.Replace, packageDefinitionProperties);