Package io.github.eocqrs.json.matchers
Class JsonEqualTo
java.lang.Object
org.hamcrest.BaseMatcher<io.github.eocqrs.eokson.Json>
io.github.eocqrs.json.matchers.JsonEqualTo
- All Implemented Interfaces:
org.hamcrest.Matcher<io.github.eocqrs.eokson.Json>,org.hamcrest.SelfDescribing
public final class JsonEqualTo
extends org.hamcrest.BaseMatcher<io.github.eocqrs.eokson.Json>
JSON Equality Expression Matcher.
- Since:
- 0.0.0
- Author:
- Aliaksei Bialiauski ([email protected])
-
Constructor Summary
ConstructorsConstructorDescriptionJsonEqualTo(io.github.eocqrs.eokson.Json jsn) Ctor.JsonEqualTo(InputStream bytes) Ctor.JsonEqualTo(String jsn) Ctor. -
Method Summary
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString
-
Constructor Details
-
JsonEqualTo
public JsonEqualTo(io.github.eocqrs.eokson.Json jsn) Ctor.- Parameters:
jsn- JSON to compare
-
JsonEqualTo
Ctor.- Parameters:
jsn- JSON to compare
-
JsonEqualTo
Ctor.- Parameters:
bytes- Bytes
-
-
Method Details
-
matches
-
describeTo
public void describeTo(org.hamcrest.Description description)
-