verifySubroutine(subs, 123, 31, new int[]{125, 25});
}
private static void verifySubroutine(Subroutine[] subs, int pos, int start,
int[] callers) {
Subroutine sub = subs[pos];
assertNotNull(sub);
assertEquals(sub.start(), start);
for (int i = 0; i < callers.length; i++)
assertTrue(sub.callers().contains(new Integer(callers[i])));
}