void (int[] beforeAppliedExpected, int[] endAppliedExpected, HunkStatus expectedStatus, List<AppliedTextPatch.AppliedSplitPatchHunk> appliedInfo) { for (int i = 0; i < appliedInfo.size(); i++) { final AppliedTextPatch.AppliedSplitPatchHunk hunk = appliedInfo.get(i); assertEquals(beforeAppliedExpected[i], hunk.getAppliedTo().start); assertEquals(endAppliedExpected[i], hunk.getAppliedTo().end); assertEquals(expectedStatus, hunk.getStatus()); } }