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, unquotedString
public static ErrorMessageFactory shouldBeSubsetOf(Object actual, Object values, Iterable<?> unexpected, ComparisonStrategy comparisonStrategy)
ShouldBeSubsetOf
actual
- the actual setvalues
- the expected supersetunexpected
- the unexpected valuecomparisonStrategy
- the ComparisonStrategy
usedErrorMessageFactory
public 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.