Chaining Path

Since the path method return a new Tester you must keep a reference on the original Tester if you want to test other path.

Example: Chain Path
$tester = new Tester((object)["key1" => "value1", "key2" => "value2"]);
$tester->path('key1')->assertSame('value1');
$tester->path('key2')->assertSame('value2');