diff --git a/tests/ArchTest.php b/tests/ArchTest.php new file mode 100644 index 0000000..fbd3071 --- /dev/null +++ b/tests/ArchTest.php @@ -0,0 +1,21 @@ +expect(['dd', 'dump', 'ray']) + ->not->toBeUsed(); + +test('classes') + ->expect('Sikessem\Skeleton') + ->toUseStrictTypes(); + +test('contracts') + ->expect('Sikessem\Skeleton\Contracts') + ->interfaces() + ->toOnlyBeUsedIn('Sikessem\Skeleton', 'Sikessem\Skeleton\Contracts'); + +test('concerns') + ->expect('Sikessem\Skeleton\Concerns') + ->traits() + ->toOnlyBeUsedIn('Sikessem\Skeleton', 'Sikessem\Skeleton\Concerns');