FilterResult (TestDescriptor descriptor) { return FilterResult.includedIf(shouldRun(descriptor), () -> descriptor.getDisplayName() + " matches", () -> descriptor.getDisplayName() + " doesn't match"); }