From 7520d726d423d857cf7c99fc3cdf8d6513083a04 Mon Sep 17 00:00:00 2001 From: Vladimir Romanichev Date: Mon, 13 Mar 2023 16:11:37 +0300 Subject: [PATCH] increase test coverage --- tests/unit/Url/FromJsonTest.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/unit/Url/FromJsonTest.php b/tests/unit/Url/FromJsonTest.php index 12409da..27e4730 100644 --- a/tests/unit/Url/FromJsonTest.php +++ b/tests/unit/Url/FromJsonTest.php @@ -66,4 +66,13 @@ public function testHostNameWithEmptyUrl(): void ); $url->asString(); } + + public function testFromDomainAndBillingApi(): void + { + $this->expectException(\Exception::class); + FromJson::fromDomainAndBillingApi( + new Domain('test'), + new BillingApi('test') + ); + } }