@PublicAPI(usage = ACCESS, state = EXPERIMENTAL)
    public static Creator defineByPackages(String packageIdentifier) {
        return defineBy(identifierByPackage(packageIdentifier));
    }
@Test
    public void rejects_multiple_modules_with_same_name() {
        String duplicateName = "alwaysSame";

        assertThatThrownBy(
                () -> ArchModules
                        .defineByPackages(validTestExamplePackage + ".(*).(*)")
                        .deriveNameFromPattern(duplicateName)
                        .modularize(testExamples)
        )
                .isInstanceOf(IllegalArgumentException.class)
                .hasMessageContaining("Found multiple modules with the same name: [" + duplicateName + "]");
    }