21 lines
542 B
PHP
21 lines
542 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use App\Actions\PickupExceptions\DeletePickupExceptionInput;
|
|
use App\Models\PickupException;
|
|
|
|
describe('DeletePickupExceptionInput', function () {
|
|
test('it can be instantiated with pickup exception model', function () {
|
|
// GIVEN
|
|
$pickupException = new PickupException();
|
|
|
|
// WHEN
|
|
$input = new DeletePickupExceptionInput(
|
|
pickupException: $pickupException,
|
|
);
|
|
|
|
// THEN
|
|
expect($input->pickupException)->toBe($pickupException);
|
|
});
|
|
});
|