From e8ba799ab153609d31475aade60b4bc3c448b767 Mon Sep 17 00:00:00 2001 From: "Paul M. Jones" Date: Wed, 26 Jan 2022 14:56:52 -0600 Subject: [PATCH] improve test coverage --- tests/RouteTest.php | 5 +++++ 1 file changed, 5 insertions(+) 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); } }