in src/main/java/org/apache/sling/testing/clients/osgi/BundleInfo.java [31:43]
public BundleInfo(JsonNode root) throws TestingValidationException {
if (root.get("id") != null) {
if (root.get("id") == null) {
throw new TestingValidationException("No Bundle Info returned");
}
bundle = root;
} else {
if (root.get("data") == null && root.get("data").size() < 1) {
throw new TestingValidationException("No Bundle Info returned");
}
bundle = root.get("data").get(0);
}
}