Here is the below code looking for full code coverage. ValueMap vm = assetResource.getValueMap();String version = vm.get("jcr:lastModifiedVersion", String.class);boolean isNewAsset = vm.containsKey("newAsset");if (!isNewAsset) {Resource rr= resourceResolver.getResource(path);ModifiableValueMap mvm =...