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

[FEATURE] InvalidMutexException added

parent 41071419
No related merge requests found
<?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);
}
}
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