NinjaMutex\Tests\MutexFabricTest::testMutexCreationWithDefaultImplementor PHP 메소드

testMutexCreationWithDefaultImplementor() 공개 메소드

public testMutexCreationWithDefaultImplementor ( NinjaMutex\Lock\LockInterface $lockImplementor )
$lockImplementor NinjaMutex\Lock\LockInterface
    public function testMutexCreationWithDefaultImplementor(LockInterface $lockImplementor)
    {
        $mutexFabric = new MutexFabric(get_class($lockImplementor), $lockImplementor);
        $this->assertInstanceOf('NinjaMutex\\Mutex', $mutexFabric->get('lock'));
    }