@Test
  public void patternMatcherGroupCountEqualsGroupsLength() {
    Matcher matcher = getPattern().matcher(logLine);
    assertThat(matcher.matches()).isTrue();
    assertThat(matcher.groupCount()).isEqualTo(values().length);
  }
Unit tests for {@link LogMessageRegex} matching startup configuration with optional
{@code memberName} missing.

<p>
Example log message containing startup configuration:

<pre>
[info 2018/10/19 16:03:18.069 PDT <main> tid=0x1] Startup Configuration: ### GemFire Properties defined with api ###
</pre>
geode-core/src/test/java/org/apache/geode/logging/internal/LogMessageRegexMatchesStartupConfigurationTest.java