public class ShouldContainExactlyInAnyOrder extends BasicErrorMessageFactory
String
.Modifier and Type | Class and Description |
---|---|
static class |
ShouldContainExactlyInAnyOrder.ErrorType |
arguments, format, formatter
Modifier | Constructor and Description |
---|---|
private |
ShouldContainExactlyInAnyOrder(java.lang.Object actual,
java.lang.Object expected,
java.lang.Iterable<?> notFound,
java.lang.Iterable<?> notExpected,
ComparisonStrategy comparisonStrategy) |
private |
ShouldContainExactlyInAnyOrder(java.lang.Object actual,
java.lang.Object expected,
java.lang.Iterable<?> notFoundOrNotExpected,
ShouldContainExactlyInAnyOrder.ErrorType errorType,
ComparisonStrategy comparisonStrategy) |
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldContainExactlyInAnyOrder(java.lang.Object actual,
java.lang.Object expected,
java.lang.Iterable<?> notFound,
java.lang.Iterable<?> notExpected,
ComparisonStrategy comparisonStrategy)
Creates a new
ShouldContainExactlyInAnyOrder . |
create, create, create, equals, hashCode, toString, unquotedString
private ShouldContainExactlyInAnyOrder(java.lang.Object actual, java.lang.Object expected, java.lang.Iterable<?> notFound, java.lang.Iterable<?> notExpected, ComparisonStrategy comparisonStrategy)
private ShouldContainExactlyInAnyOrder(java.lang.Object actual, java.lang.Object expected, java.lang.Iterable<?> notFoundOrNotExpected, ShouldContainExactlyInAnyOrder.ErrorType errorType, ComparisonStrategy comparisonStrategy)
public static ErrorMessageFactory shouldContainExactlyInAnyOrder(java.lang.Object actual, java.lang.Object expected, java.lang.Iterable<?> notFound, java.lang.Iterable<?> notExpected, ComparisonStrategy comparisonStrategy)
ShouldContainExactlyInAnyOrder
.actual
- the actual value in the failed assertion.expected
- values expected to be contained in actual
.notFound
- values in expected
not found in actual
.notExpected
- values in actual
that were not in expected
.comparisonStrategy
- the ComparisonStrategy
used to evaluate assertion.ErrorMessageFactory
.