}
protected void assertLine(final String tag, final int status,
final int missedBranches, final int coveredBranches) {
final int nr = source.getLineNumber(tag);
final ILine line = sourceCoverage.getLine(nr);
final String msg = String.format("L%s: %s", Integer.valueOf(nr),
source.getLine(nr));
final int insnStatus = line.getInstructionCounter().getStatus();
assertEquals(msg, STATUS_NAME[status], STATUS_NAME[insnStatus]);
assertEquals(msg + " branches",
CounterImpl.getInstance(missedBranches, coveredBranches),
line.getBranchCounter());
}