public class ShouldBeSubsetOf extends BasicErrorMessageFactory
Iterable is a subset of an other set
Iterable failed.arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldBeSubsetOf(Object actual,
Object values,
Iterable<?> unexpected)
Creates a new
. |
static ErrorMessageFactory |
shouldBeSubsetOf(Object actual,
Object values,
Iterable<?> unexpected,
ComparisonStrategy comparisonStrategy)
Creates a new
|
create, create, create, equals, hashCode, toString, unquotedStringpublic static ErrorMessageFactory shouldBeSubsetOf(Object actual, Object values, Iterable<?> unexpected, ComparisonStrategy comparisonStrategy)
ShouldBeSubsetOfactual - the actual setvalues - the expected supersetunexpected - the unexpected valuecomparisonStrategy - the ComparisonStrategy usedErrorMessageFactorypublic static ErrorMessageFactory shouldBeSubsetOf(Object actual, Object values, Iterable<?> unexpected)
ShouldBeSubsetOf.actual - the actual setvalues - the expected supersetunexpected - the unexpected valueErrorMessageFactory.Copyright © 2014–2019 AssertJ. All rights reserved.