Class InternalMatcher.ArrayMatcher
- java.lang.Object
-
- net.javacrumbs.jsonunit.core.internal.matchers.InternalMatcher.ArrayMatcher
-
- Enclosing class:
- InternalMatcher
public class InternalMatcher.ArrayMatcher extends Object
Array assertions
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidisEmpty()voidisNotEmpty()voidofLength(int expectedLength)Fails if the array has different length.voidthatContains(Object expected)
-
-
-
Method Detail
-
ofLength
public void ofLength(int expectedLength)
Fails if the array has different length.- Parameters:
expectedLength-
-
thatContains
public void thatContains(Object expected)
-
isEmpty
public void isEmpty()
-
isNotEmpty
public void isNotEmpty()
-
-