PHP Class NinjaMutex\Tests\MutexFabricTest

Author: Kamil Dziedzic ([email protected])
Inheritance: extends AbstractTest
Afficher le fichier Open project: arvenil/ninja-mutex

Méthodes publiques

Méthode 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 méthode

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

testIfInjectedImplementorIsSetAsDefault() public méthode

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

testMutexCreationWithDefaultImplementor() public méthode

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

testMutexCreationWithSecondaryImplementor() public méthode

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

testRegisterNewImplementorAndSetIsAsDefault() public méthode

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

testThrowExceptionOnDuplicateImplementorName() public méthode

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