private PlantUmlDiagram createDiagram(List<String> rawDiagramLines) {
        List<String> diagramLines = filterOutComments(rawDiagramLines);
        Set<PlantUmlComponent> components = parseComponents(diagramLines);
        PlantUmlComponents plantUmlComponents = new PlantUmlComponents(components);

        List<ParsedDependency> dependencies = parseDependencies(plantUmlComponents, diagramLines);

        return new PlantUmlDiagram.Builder(plantUmlComponents)
                .withDependencies(dependencies)
                .build();
    }
@Test
    public void does_not_include_dependency_descriptions() {
        PlantUmlDiagram diagram = createDiagram(TestDiagram.in(temporaryFolder)
                .component("component").withStereoTypes("..somePackage..")
                .component("otherComponent").withStereoTypes("..somePackage2..")
                .rawLine("[component] --> [otherComponent] : this part should be ignored, no matter the comment tick ' ")
                .write());

        PlantUmlComponent component = getComponentWithName("component", diagram);
        PlantUmlComponent targetOfDescribedDependency = getOnlyElement(component.getDependencies());
        assertThat(targetOfDescribedDependency.getComponentName())
                .as("target of dependency with description")
                .isEqualTo(new ComponentName("otherComponent"));
    }