@Test
public void getGraphOfModuleWithOneSubmoduleAndDependencyOfEachType(){

    repoHandler.loadTestCase(new TC03_ModuleWithOneSubmoduleAndDependencyOfEachType());
    final String moduleId = DbModule.generateID(TC03_ModuleWithOneSubmoduleAndDependencyOfEachType.MODULE_NAME, TC03_ModuleWithOneSubmoduleAndDependencyOfEachType.MODULE_VERSION);
    AbstractGraph graph = graphHandler.getModuleGraph(moduleId);
    assertNotNull(graph);
    assertEquals(5, graph.getElements().size());
    assertEquals(4, graph.getDependencies().size());
    GraphElement subModule = null;
    for(GraphElement element: graph.getElements()){
        if(element.getValue().equals(TC03_ModuleWithOneSubmoduleAndDependencyOfEachType.SUBMODULE_NAME)){
            subModule = element;
        }
    }
    assertNull(subModule);
}