I stumbled upon the following snippet.
ArchRule myRule = classes()
.that().resideInAPackage("..core..")
.should().onlyBeAccessed().byAnyPackage("..controller..");
I wonder how I can negate this condition so, the test should check if the core package is not accessed by the controller package?