Class RangeSetShouldIntersectAnyOf

  • All Implemented Interfaces:
    org.assertj.core.error.ErrorMessageFactory

    public class RangeSetShouldIntersectAnyOf
    extends org.assertj.core.error.BasicErrorMessageFactory
    Creates an error message indicating that the given RangeSet does not intersect at lease one element of expected objects.
    Author:
    Ilya Koshaleu
    • Field Summary

      • Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory

        arguments, format
    • Constructor Detail

      • RangeSetShouldIntersectAnyOf

        private RangeSetShouldIntersectAnyOf​(Object actual,
                                             Object expected)
        Creates a new BasicErrorMessageFactory.
        Parameters:
        actual - actual RangeSet.
        expected - expected range to intersect.
    • Method Detail

      • shouldIntersectAnyOf

        public static org.assertj.core.error.ErrorMessageFactory shouldIntersectAnyOf​(com.google.common.collect.RangeSet<?> actual,
                                                                                      Object expected)