Package net.javacrumbs.jsonunit.fluent
Class JsonFluentAssert.ArrayAssert
- java.lang.Object
-
- net.javacrumbs.jsonunit.fluent.JsonFluentAssert.ArrayAssert
-
- Enclosing class:
- JsonFluentAssert
public static class JsonFluentAssert.ArrayAssert extends Object
Array assertions
-
-
Method Summary
Modifier and Type Method Description JsonFluentAssert.ArrayAssertisEmpty()JsonFluentAssert.ArrayAssertisNotEmpty()JsonFluentAssert.ArrayAssertofLength(int expectedLength)Fails if the array has different length.JsonFluentAssert.ArrayAssertthatContains(Object expected)
-
-
-
Method Detail
-
ofLength
public JsonFluentAssert.ArrayAssert ofLength(int expectedLength)
Fails if the array has different length.- Parameters:
expectedLength-- Returns:
-
thatContains
public JsonFluentAssert.ArrayAssert thatContains(Object expected)
-
isEmpty
public JsonFluentAssert.ArrayAssert isEmpty()
-
isNotEmpty
public JsonFluentAssert.ArrayAssert isNotEmpty()
-
-