@Test
public void testParseFile() {

    System.out.println("parseFile");
    System.out.println("Document properties");
    assertEquals("The Homer", document.getName());
    assertEquals("1.23", document.getVersion());
    assertEquals("Herbert Powell", document.getAuthor());
    assertEquals("Powell Motors", document.getCompany());
    System.out.println("nodes");
    Set<Node> nodes = document.getNodes();
    boolean foundMotor = false;
    for(Node n : nodes) {
        if(n.getName().equals("Motor ACME"))
            foundMotor = true;
    }
    assertTrue(foundMotor);
    Set<BusDescription> busses = document.getBusDescriptions();
    assertEquals(3, busses.size());
}