summaryrefslogtreecommitdiff
path: root/tests/Unit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit')
-rw-r--r--tests/Unit/GroupDefinitionTest.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/Unit/GroupDefinitionTest.php b/tests/Unit/GroupDefinitionTest.php
new file mode 100644
index 0000000..3a064a1
--- /dev/null
+++ b/tests/Unit/GroupDefinitionTest.php
@@ -0,0 +1,10 @@
+<?php
+
+declare(strict_types=1);
+
+use Lightscale\Router\GroupDefinition;
+use Lightscale\Router\Router;
+
+it('initializes')
+ ->expect(fn () => new GroupDefinition(new Router()))
+ ->toBeInstanceOf(GroupDefinition::class);