@PublicAPI(usage = ACCESS)
    public static PlantUmlArchCondition adhereToPlantUmlDiagram(URL url, Configuration configuration) {
        return create(url, configuration);
    }
@Test
    public void diagram_with_multiple_dependencies_that_considers_only_certain_packages() {
        File file = TestDiagram.in(temporaryFolder)
                .component("SomeOrigin").withStereoTypes("..origin")
                .component("SomeIntermediary").withStereoTypes("..intermediary")
                .component("SomeTarget").withStereoTypes("..target")
                .dependencyFrom("SomeOrigin").to("SomeIntermediary")
                .dependencyFrom("SomeIntermediary").to("SomeTarget")
                .write();

        JavaClasses classes = getClassesFrom("multipledependencies");

        PlantUmlArchCondition condition = adhereToPlantUmlDiagram(file,
                consideringOnlyDependenciesInAnyPackage("..origin", "..intermediary", "..target"));
        assertConditionHasNumberOfFailures(classes, condition, 3);

        condition = adhereToPlantUmlDiagram(file,
                consideringOnlyDependenciesInAnyPackage("..origin", "..intermediary"));
        assertConditionHasNumberOfFailures(classes, condition, 2);

        condition = adhereToPlantUmlDiagram(file,
                consideringOnlyDependenciesInAnyPackage("..origin"));
        assertConditionHasNumberOfFailures(classes, condition, 1);
    }