Commit 903236c2 authored by Daniel Hürtgen's avatar Daniel Hürtgen

[FEATURE] InvalidMutexException added

parent 41071419
<?php
namespace Higidi\Lock\Configuration\Exception;
/**
* Exception is thrown if invalid mutex is trying to set.
*/
class InvalidMutexException extends InvalidConfigurationException
{
}
<?php
namespace Higidi\Lock\Tests\Unit\Configuration\Exception;
use Higidi\Lock\Configuration\Exception\InvalidConfigurationException;
use Higidi\Lock\Configuration\Exception\InvalidMutexException;
use Nimut\TestingFramework\TestCase\UnitTestCase;
/**
* Test case for "\Higidi\Lock\Configuration\Exception\InvalidMutexException".
*
* @covers \Higidi\Lock\Configuration\Exception\InvalidMutexException
*/
class InvalidMutexExceptionTest extends UnitTestCase
{
/**
* @test
*/
public function itExtendsTheInvalidConfigurationException()
{
$sut = new InvalidMutexException();
$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