Class InternalMatcher.ArrayMatcher
java.lang.Object
net.javacrumbs.jsonunit.core.internal.matchers.InternalMatcher.ArrayMatcher
- Enclosing class:
InternalMatcher
Array assertions
-
Method Summary
Modifier and TypeMethodDescriptionvoidisEmpty()voidvoidofLength(int expectedLength) Fails if the array has different length.voidthatContains(@Nullable Object expected)
-
Method Details
-
ofLength
public void ofLength(int expectedLength) Fails if the array has different length. -
thatContains
-
isEmpty
public void isEmpty() -
isNotEmpty
public void isNotEmpty()
-