diff --git a/tests/Annotations/InputTest.php b/tests/Annotations/InputTest.php new file mode 100644 index 000000000..0fcdaa5b1 --- /dev/null +++ b/tests/Annotations/InputTest.php @@ -0,0 +1,18 @@ +expectException(RuntimeException::class); + $this->expectExceptionMessage('Empty class for #[Input] attribute. You MUST create the Input attribute object using the GraphQLite AnnotationReader'); + (new Input())->getClass(); + } +}