NinjaMutex\Tests\MutexFabricTest::testThrowExceptionOnDuplicateImplementorName PHP Метод

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

public testThrowExceptionOnDuplicateImplementorName ( NinjaMutex\Lock\LockInterface $lockImplementor )
$lockImplementor NinjaMutex\Lock\LockInterface
    public function testThrowExceptionOnDuplicateImplementorName(LockInterface $lockImplementor)
    {
        $mutexFabric = new MutexFabric(get_class($lockImplementor), $lockImplementor);
        $mutexFabric->registerLockImplementor(get_class($lockImplementor), $lockImplementor);
    }