‪TYPO3CMS  9.5
TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest:

Public Member Functions

 addLockingStrategyAddsTheClassNameToTheInternalArray ()
 
 addLockingStrategyThrowsExceptionIfInterfaceIsNotImplemented ()
 
 getLockerReturnsExpectedClass ()
 
 getLockerReturnsClassWithHighestPriority ()
 
 getLockerThrowsExceptionIfNoMatchFound ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

LockFactory PHPUnit_Framework_MockObject_MockObject TYPO3 TestingFramework Core AccessibleObjectInterface $mockFactory
 

Detailed Description

Testcase for \TYPO3\CMS\Core\Locking\LockFactory

Definition at line 28 of file LockFactoryTest.php.

Member Function Documentation

◆ addLockingStrategyAddsTheClassNameToTheInternalArray()

TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::addLockingStrategyAddsTheClassNameToTheInternalArray ( )
Test:

Definition at line 45 of file LockFactoryTest.php.

◆ addLockingStrategyThrowsExceptionIfInterfaceIsNotImplemented()

TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::addLockingStrategyThrowsExceptionIfInterfaceIsNotImplemented ( )
Test:

Definition at line 54 of file LockFactoryTest.php.

◆ getLockerReturnsClassWithHighestPriority()

TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::getLockerReturnsClassWithHighestPriority ( )
Test:

Definition at line 75 of file LockFactoryTest.php.

◆ getLockerReturnsExpectedClass()

TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::getLockerReturnsExpectedClass ( )

◆ getLockerThrowsExceptionIfNoMatchFound()

TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::getLockerThrowsExceptionIfNoMatchFound ( )
Test:

Definition at line 85 of file LockFactoryTest.php.

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::setUp ( )
protected

Set up the tests

Definition at line 37 of file LockFactoryTest.php.

Member Data Documentation

◆ $mockFactory

LockFactory PHPUnit_Framework_MockObject_MockObject TYPO3 TestingFramework Core AccessibleObjectInterface TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::$mockFactory
protected

Definition at line 32 of file LockFactoryTest.php.