Workaround the inaccessbility of WebSessionManager.Val

The inability to mock the guava cache and also
the WebSessionManager.Val force the need to "hack" the access
to a "fake" Val by hijacking the constructor with a static
method inside the same package com.google.gerrit.httpd.

The hack allows to resume the normal execution of
the mocked tests since the introduction of the stricter
errorprone rules that denied the Guava cache mocking.

Change-Id: I1efcd1b145cae7f7921019fc21c8f34e72d5288e
2 files changed
tree: fa3a48c37cdc1467d64903ee93b514b395d6c9f7
  1. .gitignore
  2. BUILD
  3. LICENSE
  4. README.md
  5. WORKSPACE
  6. external_plugin_deps.bzl
  7. src/
README.md

plugins_websession-broker

Gerrit Code Review plugin for storing and broadcasting websessions to an external broker