Interface IJsonValueMatcher
Matches one JSON scalar value and describes the expectation on mismatch, so a failed assertion says what it wanted.
public interface IJsonValueMatcher
- Extension Methods
Properties
Description
The expectation phrased for a failure message.
string Description { get; }
Property Value
Methods
Matches(object?, out string?)
Tests actual and, on mismatch, sets errorMessage to what
was expected against what was found.
bool Matches(object? actual, out string? errorMessage)