Class MultimapSubject.IterableEntries

java.lang.Object
com.google.common.truth.Subject
com.google.common.truth.IterableSubject
com.google.common.truth.MultimapSubject.IterableEntries
Enclosing class:
MultimapSubject

private static class MultimapSubject.IterableEntries extends IterableSubject
  • Field Details

    • stringRepresentation

      private final String stringRepresentation
  • Constructor Details

  • Method Details

    • actualCustomStringRepresentation

      protected String actualCustomStringRepresentation()
      Description copied from class: Subject
      Supplies the direct string representation of the actual value to other methods which may prefix or otherwise position it in an error message. This should only be overridden to provide an improved string representation of the value under test, as it would appear in any given error message, and should not be used for additional prefixing.

      Subjects should override this with care.

      By default, this returns String.ValueOf(getActualValue()).

      Overrides:
      actualCustomStringRepresentation in class IterableSubject