Commit 90a381b5 authored by Daniel Hürtgen's avatar Daniel Hürtgen
Browse files

[FEATURE] NotCallableLockImplemenationBuilderException for Configuration added

parent bb8fe3e1
<?php
namespace Higidi\Lock\Configuration\Exception;
/**
* Thrown if lock implementation builder is not callable.
*/
class NotCallableLockImplemenationBuilderException extends InvalidConfigurationException
{
}
<?php
namespace Higidi\Lock\Tests\Unit\Configuration\Exception;
use Higidi\Lock\Configuration\Exception\InvalidConfigurationException;
use Higidi\Lock\Configuration\Exception\NotCallableLockImplemenationBuilderException;
use Nimut\TestingFramework\TestCase\UnitTestCase;
/**
* Test case for "\Higidi\Lock\Configuration\Exception\NotCallableLockImplemenationBuilderException".
*
* @covers \Higidi\Lock\Configuration\Exception\NotCallableLockImplemenationBuilderException
*/
class NotCallableLockImplemenationBuilderExceptionTest extends UnitTestCase
{
/**
* @test
*/
public function itExtendsTheInvalidConfigurationException()
{
$sut = new NotCallableLockImplemenationBuilderException();
$this->assertInstanceOf(InvalidConfigurationException::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