Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lock
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
TYPO3
Extensions
lock
Commits
903236c2
Commit
903236c2
authored
7 years ago
by
Daniel Hürtgen
Browse files
Options
Downloads
Patches
Plain Diff
[FEATURE] InvalidMutexException added
parent
41071419
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Classes/Configuration/Exception/InvalidMutexException.php
+10
-0
10 additions, 0 deletions
Classes/Configuration/Exception/InvalidMutexException.php
Tests/Unit/Configuration/Exception/InvalidMutexExceptionTest.php
+25
-0
25 additions, 0 deletions
...nit/Configuration/Exception/InvalidMutexExceptionTest.php
with
35 additions
and
0 deletions
Classes/Configuration/Exception/InvalidMutexException.php
0 → 100644
+
10
−
0
View file @
903236c2
<?php
namespace
Higidi\Lock\Configuration\Exception
;
/**
* Exception is thrown if invalid mutex is trying to set.
*/
class
InvalidMutexException
extends
InvalidConfigurationException
{
}
This diff is collapsed.
Click to expand it.
Tests/Unit/Configuration/Exception/InvalidMutexExceptionTest.php
0 → 100644
+
25
−
0
View file @
903236c2
<?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
);
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment