@Test
public void testIterableNodeList() {
NodeList nodeList = document.getFirstChild().getChildNodes();
int count = 0;
for(Node node : new XmlConfigBuilder.IterableNodeList(nodeList)) {
<BUG>count++;
}</BUG>
assertEquals(3, count);
}
@Test

@Test
public void testIterableNodeList() {
NodeList nodeList = document.getFirstChild().getChildNodes();
int count = 0;
for(Node node : new XmlConfigBuilder.IterableNodeList(nodeList)) {
count += (node != null)?1:0;
}
assertEquals(3, count);
}
@Test
