Skip to content

Commit

Permalink
Test the alias
Browse files Browse the repository at this point in the history
  • Loading branch information
loic425 committed Apr 9, 2024
1 parent 109800f commit b96ee2b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/Component/legacy/spec/Exception/RaceConditionExceptionSpec.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php

/*
* This file is part of the Sylius package.
*
* (c) Sylius Sp. z o.o.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace spec\Sylius\Component\Resource\Exception;

use PhpSpec\ObjectBehavior;
use Sylius\Resource\Exception\RaceConditionException as NewRaceConditionException;

final class RaceConditionExceptionSpec extends ObjectBehavior
{
function it_should_be_an_alias_of_race_condition_exception(): void
{
$this->shouldBeAnInstanceOf(NewRaceConditionException::class);
}
}

0 comments on commit b96ee2b

Please sign in to comment.