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

[FEATURE] LockBuilder initialized

parent 15bca1a4
<?php
namespace Higidi\Lock;
use TYPO3\CMS\Core\SingletonInterface;
/**
* Lock implementation builder class.
*/
class LockBuilder implements SingletonInterface
{
}
<?php
namespace Higidi\Lock\Tests\Unit;
use Higidi\Lock\LockBuilder;
use TYPO3\CMS\Core\SingletonInterface;
use TYPO3\CMS\Core\Tests\UnitTestCase;
/**
* Test case for "\Higidi\Lock\LockBuilder".
*
* @covers \Higidi\Lock\LockBuilder
*/
class LockBuilderTest extends UnitTestCase
{
/**
* @test
*/
public function itIsASingleton()
{
$sut = new LockBuilder();
$this->assertInstanceOf(SingletonInterface::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