@Deprecated
public class JsonAssert
extends java.lang.Object
| Constructor and Description |
|---|
JsonAssert()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static CollectionMatcher |
collectionWithSize(org.hamcrest.Matcher<? super java.lang.Integer> sizeMatcher)
Deprecated.
|
private static java.lang.String |
convertReaderToString(java.io.Reader reader)
Deprecated.
|
static org.hamcrest.Matcher<java.util.Collection<java.lang.Object>> |
emptyCollection()
Deprecated.
|
static org.hamcrest.Matcher<java.util.Map<java.lang.String,?>> |
mapContainingKey(org.hamcrest.Matcher<java.lang.String> keyMatcher)
Deprecated.
|
static <V> org.hamcrest.Matcher<? super java.util.Map<?,V>> |
mapContainingValue(org.hamcrest.Matcher<? super V> valueMatcher)
Deprecated.
|
static JsonAsserter |
with(java.io.InputStream is)
Deprecated.
Creates a JSONAsserter
|
static JsonAsserter |
with(java.io.Reader reader)
Deprecated.
Creates a JSONAsserter
|
static JsonAsserter |
with(java.lang.String json)
Deprecated.
Creates a JSONAsserter
|
public static JsonAsserter with(java.lang.String json)
json - the JSON document to create a JSONAsserter forjava.text.ParseException - when the given JSON could not be parsedpublic static JsonAsserter with(java.io.Reader reader) throws java.io.IOException
reader - the reader of the json documentjava.text.ParseException - when the given JSON could not be parsedjava.io.IOExceptionpublic static JsonAsserter with(java.io.InputStream is) throws java.io.IOException
is - the input streamjava.text.ParseException - when the given JSON could not be parsedjava.io.IOExceptionpublic static CollectionMatcher collectionWithSize(org.hamcrest.Matcher<? super java.lang.Integer> sizeMatcher)
public static org.hamcrest.Matcher<java.util.Map<java.lang.String,?>> mapContainingKey(org.hamcrest.Matcher<java.lang.String> keyMatcher)
public static <V> org.hamcrest.Matcher<? super java.util.Map<?,V>> mapContainingValue(org.hamcrest.Matcher<? super V> valueMatcher)
public static org.hamcrest.Matcher<java.util.Collection<java.lang.Object>> emptyCollection()
private static java.lang.String convertReaderToString(java.io.Reader reader)
throws java.io.IOException
java.io.IOException