@Test
public void testCreateArchitectureEmptyGraph() {

    DependencyGraph dependencyGraph = DependencyGraphFactory.createGraph();
    Architecture architecture = new DefaultPackageArchitectureFactory(dependencyGraph).createArchitecture();
    assertThat(architecture.getName(), is("Package"));
    assertThat(architecture.getAllComponents(), hasSize(0));
}