private Condition<String> linesMatching(Pattern pattern) {
    return new Condition<>(pattern.asPredicate(), "lines matching \"" + pattern + "\"");
  }
This test verifies that rotating to an untrusted certificate causes an exception when the
client tries to form a new secure connection. This is a sanity check that certificates are
being dynamically updated.
geode-assembly/src/acceptanceTest/java/org/apache/geode/ssl/CertificateRotationTest.java