@Test
public void testRead() {

    reader.readPom(ROOT_DIR);
    assertThat(dependencyGraph.getAllNodes()).hasSize(10);
    Node pki = assertNode("com.mycompany.pki:pki");
    Node pkiApi = assertNode("com.mycompany.pki:pki-api");
    Node pkiServer = assertNode("com.mycompany.pki:pki-server");
    Node commonUtil = assertNode("com.mycompany.common:common-util");
    Node parent = assertNode("com.mycompany:mycompany-parent");
    Node tester = assertNode("org.testtools:tester");
    assertNode("joda-time:joda-time");
    assertThat(dependencyGraph.getNode("joda-time")).isNull();
    assertThat(dependencyGraph.getAllEdges()).hasSize(13);
    assertEdge(pki, parent, DependencyType.INHERIT);
    assertEdge(pki, pkiApi, DependencyType.CONTAINS);
    assertEdge(pkiApi, commonUtil, DependencyType.COMPILE);
    assertEdge(pkiServer, tester, DependencyType.TEST);
    GraphExporter.export(dependencyGraph, OUTPUT_DIR + "/mavenTest", new Architecture(), new ArrayList<>(), false);
}