Skip to content
Snippets Groups Projects
Commit 41071419 authored by Daniel Hürtgen's avatar Daniel Hürtgen
Browse files

[FEATURE] InvalidStrategyException added

parent e7674dfb
Branches
Tags
No related merge requests found
<?php
namespace Higidi\Lock\Configuration\Exception;
/**
* Exception is thrown if invalid strategy is trying to set.
*/
class InvalidStrategyException extends InvalidConfigurationException
{
}
<?php
namespace Higidi\Lock\Tests\Unit\Configuration\Exception;
use Higidi\Lock\Configuration\Exception\InvalidConfigurationException;
use Higidi\Lock\Configuration\Exception\InvalidStrategyException;
use Nimut\TestingFramework\TestCase\UnitTestCase;
/**
* Test case for "\Higidi\Lock\Configuration\Exception\InvalidStrategyException".
*
* @covers \Higidi\Lock\Configuration\Exception\InvalidStrategyException
*/
class InvalidStrategyExceptionTest extends UnitTestCase
{
/**
* @test
*/
public function itExtendsTheInvalidConfigurationException()
{
$sut = new InvalidStrategyException();
$this->assertInstanceOf(InvalidConfigurationException::class, $sut);
}
}
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