Commit f309cbc4 authored by Daniel Hürtgen's avatar Daniel Hürtgen

[FEATURE] LockCreateException for Builder added

parent 5bd515cd
<?php
namespace Higidi\Lock\Builder\Exception;
/**
* Exception is thrown if an unexpected error occured while preparing or creating the lock implementation.
*/
class LockCreateException extends \Exception
{
}
<?php
namespace Higidi\Lock\Tests\Unit\Builder\Exception;
use Higidi\Lock\Builder\Exception\LockCreateException;
use Nimut\TestingFramework\TestCase\UnitTestCase;
/**
* Test case for "\Higidi\Lock\Builder\Exception\LockCreateException".
*
* @covers \Higidi\Lock\Builder\Exception\LockCreateException
*/
class LockCreateExceptionTest extends UnitTestCase
{
/**
* @test
*/
public function itExtendsTheGenericException()
{
$sut = new LockCreateException();
$this->assertInstanceOf(\Exception::class, $sut);
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment