@Test
public void streamRecordsConditionsHitsForLinesWithBranch() throws XMLStreamException {
final Map<String, CoverageMeasuresBuilder> parseResults = new HashMap<String, CoverageMeasuresBuilder>();
final StaxParser parser = new StaxParser(new CoberturaXMLStreamHandler(parseResults));
parser.parse(new StringInputStream(VALID_REPORT));
assertEquals(Integer.valueOf(1), parseResults.get(FILE_PATH).getCoveredConditionsByLine().get(BRANCH_LINE));
}