@Deprecated public class JsonAssert extends Object
Constructor and Description |
---|
JsonAssert()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CollectionMatcher |
collectionWithSize(org.hamcrest.Matcher<? super Integer> sizeMatcher)
Deprecated.
|
static org.hamcrest.Matcher<Collection<Object>> |
emptyCollection()
Deprecated.
|
static org.hamcrest.Matcher<Map<String,?>> |
mapContainingKey(org.hamcrest.Matcher<String> keyMatcher)
Deprecated.
|
static <V> org.hamcrest.Matcher<? super Map<?,V>> |
mapContainingValue(org.hamcrest.Matcher<? super V> valueMatcher)
Deprecated.
|
static JsonAsserter |
with(InputStream is)
Deprecated.
Creates a JSONAsserter
|
static JsonAsserter |
with(Reader reader)
Deprecated.
Creates a JSONAsserter
|
static JsonAsserter |
with(String json)
Deprecated.
Creates a JSONAsserter
|
public static JsonAsserter with(String json)
json
- the JSON document to create a JSONAsserter forParseException
- when the given JSON could not be parsedpublic static JsonAsserter with(Reader reader) throws IOException
reader
- the reader of the json documentParseException
- when the given JSON could not be parsedIOException
public static JsonAsserter with(InputStream is) throws IOException
is
- the input streamParseException
- when the given JSON could not be parsedIOException
public static CollectionMatcher collectionWithSize(org.hamcrest.Matcher<? super Integer> sizeMatcher)
public static org.hamcrest.Matcher<Map<String,?>> mapContainingKey(org.hamcrest.Matcher<String> keyMatcher)
public static <V> org.hamcrest.Matcher<? super Map<?,V>> mapContainingValue(org.hamcrest.Matcher<? super V> valueMatcher)
public static org.hamcrest.Matcher<Collection<Object>> emptyCollection()
Copyright © 2019. All rights reserved.