PHP Class NinjaMutex\Tests\MutexFabricTest

Author: Kamil Dziedzic ([email protected])
Inheritance: extends AbstractTest
ファイルを表示 Open project: arvenil/ninja-mutex

Public Methods

Method Description
testIfInjectedImplementorDefaultImplementorIsNotOverwritten ( NinjaMutex\Lock\LockInterface $lockImplementor )
testIfInjectedImplementorIsSetAsDefault ( NinjaMutex\Lock\LockInterface $lockImplementor )
testMutexCreationWithDefaultImplementor ( NinjaMutex\Lock\LockInterface $lockImplementor )
testMutexCreationWithSecondaryImplementor ( NinjaMutex\Lock\LockInterface $lockImplementor )
testRegisterNewImplementorAndSetIsAsDefault ( NinjaMutex\Lock\LockInterface $lockImplementor )
testThrowExceptionOnDuplicateImplementorName ( NinjaMutex\Lock\LockInterface $lockImplementor )

Method Details

testIfInjectedImplementorDefaultImplementorIsNotOverwritten() public method

public testIfInjectedImplementorDefaultImplementorIsNotOverwritten ( NinjaMutex\Lock\LockInterface $lockImplementor )
$lockImplementor NinjaMutex\Lock\LockInterface

testIfInjectedImplementorIsSetAsDefault() public method

public testIfInjectedImplementorIsSetAsDefault ( NinjaMutex\Lock\LockInterface $lockImplementor )
$lockImplementor NinjaMutex\Lock\LockInterface

testMutexCreationWithDefaultImplementor() public method

public testMutexCreationWithDefaultImplementor ( NinjaMutex\Lock\LockInterface $lockImplementor )
$lockImplementor NinjaMutex\Lock\LockInterface

testMutexCreationWithSecondaryImplementor() public method

public testMutexCreationWithSecondaryImplementor ( NinjaMutex\Lock\LockInterface $lockImplementor )
$lockImplementor NinjaMutex\Lock\LockInterface

testRegisterNewImplementorAndSetIsAsDefault() public method

public testRegisterNewImplementorAndSetIsAsDefault ( NinjaMutex\Lock\LockInterface $lockImplementor )
$lockImplementor NinjaMutex\Lock\LockInterface

testThrowExceptionOnDuplicateImplementorName() public method

public testThrowExceptionOnDuplicateImplementorName ( NinjaMutex\Lock\LockInterface $lockImplementor )
$lockImplementor NinjaMutex\Lock\LockInterface