Class RangeSetShouldIntersect

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

    public class RangeSetShouldIntersect
    extends org.assertj.core.error.BasicErrorMessageFactory
    Creates an error message indicating that the given RangeSet does not intersect neither another one RangeSet nor some set of Range.
    Author:
    Ilya Koshaleu
    • Field Summary

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

        arguments, format
    • Constructor Detail

      • RangeSetShouldIntersect

        private RangeSetShouldIntersect​(Object actual,
                                        Object expected,
                                        Object notIntersected)
        Creates a new BasicErrorMessageFactory.
        Parameters:
        actual - actual RangeSet.
        expected - expected RangeSet that have to be intersected.
        notIntersected - not intersected ranges.
    • Method Detail

      • shouldIntersect

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