PHP 클래스 NinjaMutex\Tests\MutexFabricTest

저자: Kamil Dziedzic ([email protected])
상속: extends AbstractTest
파일 보기 프로젝트 열기: arvenil/ninja-mutex

공개 메소드들

메소드 설명
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