#6029 - phpunit should expect an exception only after checking whether the test should be skipped or not
#6029 - `CommonPatternTest` is abstract and should be extended, as `setUp` is expected to be overridden in subclasses