@Test
public void testCreateArchitectureViewWithUnmappedClasses() {

    graph.getOrCreateNodeByName("com.my.other.nodes.A");
    Result result = ArchitectureViewCreator.createArchitectureView(graph, architecture, architecture.getName());
    assertThat(result.getViolationMessage(), is("There are unmapped classes in architecture Test-Architecture: [com.my.other.nodes.A]"));
    // rest remains unchanged, compare above:
    assertResultingArchitecureGraph(result.getArchitectureGraph());
}