TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
LockFactoryTest Class Reference
Inheritance diagram for LockFactoryTest:
UnitTestCase BaseTestCase

Public Member Functions

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

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

 $mockFactory
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase for

Definition at line 28 of file LockFactoryTest.php.

Member Function Documentation

addLockingStrategyAddsTheClassNameToTheInternalArray ( )
Test:

Definition at line 46 of file LockFactoryTest.php.

addLockingStrategyThrowsExceptionIfInterfaceIsNotImplemented ( )
Test:

Definition at line 55 of file LockFactoryTest.php.

getLockerReturnsClassWithHighestPriority ( )
Test:

Definition at line 76 of file LockFactoryTest.php.

getLockerReturnsExpectedClass ( )
getLockerThrowsExceptionIfNoMatchFound ( )
Test:

Definition at line 86 of file LockFactoryTest.php.

setUp ( )
protected

Set up the tests

Definition at line 38 of file LockFactoryTest.php.

References BaseTestCase\getAccessibleMock().

Member Data Documentation

$mockFactory
protected

Definition at line 33 of file LockFactoryTest.php.