achse/json-assert

Assert-tool for Nette Tester to asserting JSONs.

1.0.2 2017-01-20 17:34 UTC

README

Downloads this Month Latest Stable Version

Installation

composer require achse/json-assert --dev 1.0.*

Example

In your test method then just use it like:

	$result = $subject->method();
	$expectedJson = '{"a":"A","b":"B"}';
	JsonAssert::json($expectedJson, $result);