2026-09-30 11:20:39 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
2026-11-10 14:28:00 +01:00
|
|
|
use App\Cqs\Actions\Shops\DeleteShopInput;
|
2026-09-30 11:20:39 +02:00
|
|
|
use App\Models\Shop;
|
|
|
|
|
|
|
|
|
|
describe('DeleteShopInput', function () {
|
|
|
|
|
test('it can be instantiated with shop', function () {
|
|
|
|
|
// GIVEN
|
|
|
|
|
$shop = new Shop();
|
|
|
|
|
|
|
|
|
|
// WHEN
|
|
|
|
|
$input = new DeleteShopInput(shop: $shop);
|
|
|
|
|
|
|
|
|
|
// THEN
|
|
|
|
|
expect($input->shop)->toBe($shop);
|
|
|
|
|
});
|
|
|
|
|
});
|