@Test
public void testNonInodeSectionIgnored() throws Exception {

  String[] lines = {
      "<INodeSection>",
      "</INodeSection>",
      "<OtherSection>",
      "<inode><id>1</id><type>FILE</type><name>fake-file</name>"
          + "<replication>1</replication>",
      "<blocks><block><id>2</id><genstamp>1</genstamp>"
          + "<numBytes>1</numBytes></block>",
      "</inode>",
      "<replication>3</replication>",
      "</OtherSection>"
  };
  XMLParser parser = new XMLParser();
  for (String line : lines) {
    assertTrue((parser.parseLine(line).isEmpty()));
  }
}