void () { assertTrue(StringUtil.containsAnyChar(TEST_STRING, Integer.toString(new Random().nextInt()))); PlatformTestUtil.startPerformanceTest("StringUtil.containsAnyChar()", 600, () -> { for (int i = 0; i < 1_000_000; i++) { if (StringUtil.containsAnyChar(TEST_STRING, "XYZ")) { throw new AssertionError(); } if (StringUtil.containsAnyChar("XYZ", TEST_STRING)) { throw new AssertionError(); } } }).assertTiming(); }