### Question:
PatchParser { public static List<Patch> parse(String ldPatchJson) throws PatchParserException { PatchParser patchParser = new PatchParser(); patchParser.setPatchData(ldPatchJson); List<PatchObject> patchObjects = patchParser.parsePatch(); List<Patch> patches = createPatches(patchObjects); return patches; } PatchParser(String input);   PatchParser(); static List<Patch> createDeleteModelAsPatches(Model model); static List<Patch> parse(String ldPatchJson); static List<Patch> createPatches(List<PatchObject> patch);  }### Answer:
@Test public void test_parse_patch_with_blank_nodes() throws Exception { String testData = "[{\n" + " \"op\": \"add\",\n" + " \"s\": \"http: + " \"p\": \"http: + " \"o\": {\"value\": \"_:b0\", \"type\": \"http: + "}, {\n" + " \"op\": \"add\",\n" + " \"s\": \"_:b0\",\n" + " \"p\": \"http: + " \"o\": {\"value\": \"http: + "}, {\n" + " \"op\": \"add\",\n" + " \"s\": \"_:b0\",\n" + " \"p\": \"http: + " \"o\": {\"value\": \"http: + "}, {\n" + " \"op\": \"add\",\n" + " \"s\": \"_:b0\",\n" + " \"p\": \"http: + " \"o\": {\"value\": \"12\", \"type\": \"http: + "}]"; Iterator<Patch> lpo = PatchParser.parse(testData).iterator(); Node seriaIssueNode = lpo.next().getStatement().getObject().asNode(); assertEquals(seriaIssueNode, lpo.next().getStatement().getSubject().asNode()); assertEquals(seriaIssueNode, lpo.next().getStatement().getSubject().asNode()); assertEquals(seriaIssueNode, lpo.next().getStatement().getSubject().asNode()); }