diff --git a/tests/RouteTest.php b/tests/RouteTest.php index 6871a02..6071788 100644 --- a/tests/RouteTest.php +++ b/tests/RouteTest.php @@ -25,6 +25,11 @@ public function testAsArray() 'headers' => [], 'messages' => [], ]; + $this->assertSame($expect, $route->asArray()); + + $expect = json_encode($expect); + $actual = json_encode($route); + $this->assertSame($expect, $actual); } }