PHP Класс NinjaMutex\Tests\MutexFabricTest

Автор: Kamil Dziedzic ([email protected])
Наследование: extends AbstractTest
Показать файл Открыть проект

Открытые методы

Метод Описание
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 )

Описание методов

testIfInjectedImplementorDefaultImplementorIsNotOverwritten() публичный Метод

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

testIfInjectedImplementorIsSetAsDefault() публичный Метод

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

testMutexCreationWithDefaultImplementor() публичный Метод

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

testMutexCreationWithSecondaryImplementor() публичный Метод

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

testRegisterNewImplementorAndSetIsAsDefault() публичный Метод

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

testThrowExceptionOnDuplicateImplementorName() публичный Метод

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