Class MultisetShouldContainAtMostTimes

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class MultisetShouldContainAtMostTimes
    extends BasicErrorMessageFactory
    Creates an error message stating that a given value appears in a Multiset more times than expected
    • Constructor Detail

      • MultisetShouldContainAtMostTimes

        private MultisetShouldContainAtMostTimes​(java.lang.String format,
                                                 java.lang.Object... arguments)
    • Method Detail

      • shouldContainAtMostTimes

        public static ErrorMessageFactory shouldContainAtMostTimes​(com.google.common.collect.Multiset<?> actual,
                                                                   java.lang.Object expected,
                                                                   int expectedTimes,
                                                                   int actualTimes)