achse/json-assert

Assert-tool for Nette Tester to asserting JSONs.

1.0.2 2017-01-20 17:34 UTC

This package is auto-updated.

Last update: 2020-05-22 14:17:16 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);