private void requireStatus(AbstractLauncher.Status expected) {
      final AbstractLauncher.Status current = launcher.status().getStatus();
      Preconditions.checkState(current == expected,
              "Expected state %s but got %s", expected, current);
    }
Returns current cache instance which was initialized for tests.
@throws IllegalStateException if server process didn't start
criteria/geode/test/org/immutables/criteria/geode/GeodeExtension.java