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

[FEATURE] InvalidConfigurationException added

parent d3f3f455
<?php
namespace Higidi\Lock\Configuration\Exception;
/**
* Exception is thrown on any error within configuration.
*/
class InvalidConfigurationException extends \Exception
{
}
<?php
namespace Higidi\Lock\Tests\Unit\Configuration\Exception;
use Higidi\Lock\Configuration\Exception\InvalidConfigurationException;
use Nimut\TestingFramework\TestCase\UnitTestCase;
/**
* Test case for "\Higidi\Lock\Configuration\Exception\InvalidConfigurationException".
*
* @covers \Higidi\Lock\Configuration\Exception\InvalidConfigurationException
*/
class InvalidConfigurationExceptionTest extends UnitTestCase
{
/**
* @test
*/
public function itExtendsTheGenericException()
{
$sut = new InvalidConfigurationException();
$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