diff --git a/tests/Type/WebMozartAssert/data/impossible-check.php b/tests/Type/WebMozartAssert/data/impossible-check.php index 0e00dcc..e4e978c 100644 --- a/tests/Type/WebMozartAssert/data/impossible-check.php +++ b/tests/Type/WebMozartAssert/data/impossible-check.php @@ -127,6 +127,13 @@ public function testStartsWith(string $a): void Assert::startsWith("value", "bix"); } + /** @param class-string $a */ + public function implementsInterface2(string $a): void + { + Assert::implementsInterface($a, Bar::class); + Assert::implementsInterface(Bar::class, Bar::class); + } + } interface Bar {};