Package org.assertj.guava.error
Class RangeSetShouldIntersect
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.guava.error.RangeSetShouldIntersect
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that the given
RangeSet
does not intersect
either another one RangeSet
or some set of Range
.-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
RangeSetShouldIntersect
(Object actual, Object expected, Object notIntersected) Creates a new
.BasicErrorMessageFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactory
shouldIntersect
(com.google.common.collect.RangeSet<?> actual, Object expected, Iterable<?> notIntersected) Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Constructor Details
-
RangeSetShouldIntersect
Creates a new
.BasicErrorMessageFactory
- Parameters:
actual
- actualRangeSet
.expected
- expectedRangeSet
that have to be intersected.notIntersected
- not intersected ranges.
-
-
Method Details
-
shouldIntersect
public static ErrorMessageFactory shouldIntersect(com.google.common.collect.RangeSet<?> actual, Object expected, Iterable<?> notIntersected)
-