/**
* @test
*/
public function shouldDecodeJsonAsArray()
{
//given
$json = '{"name":"john","id":123,"ip":"127.0.0.1"}';
//when
$decoded = Json::safeDecode($json, true);
//then
ArrayAssert::that($decoded)->hasSize(3)->contains('john', 123, '127.0.0.1');
}