summaryrefslogtreecommitdiff
path: root/tests/Unit/GroupDefinitionTest.php
diff options
context:
space:
mode:
authorSam Light <sam@lightscale.co.uk>2026-06-10 19:00:32 +0100
committerSam Light <sam@lightscale.co.uk>2026-06-10 19:00:32 +0100
commitbbb017512587047ea016e9445bb5693c8c3c8065 (patch)
tree76ab2522fdec0b9b33f6e5d7c6817df46d795688 /tests/Unit/GroupDefinitionTest.php
parentb899a995e2fd977fbf7497b36b2dbc8d641ef398 (diff)
Started structure for group definition
Diffstat (limited to 'tests/Unit/GroupDefinitionTest.php')
-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);