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

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

public testIfInjectedImplementorIsSetAsDefault ( NinjaMutex\Lock\LockInterface $lockImplementor )
$lockImplementor NinjaMutex\Lock\LockInterface
    public function testIfInjectedImplementorIsSetAsDefault(LockInterface $lockImplementor)
    {
        $mutexFabric = new MutexFabric(get_class($lockImplementor), $lockImplementor);
        $this->assertSame($mutexFabric->getDefaultLockImplementorName(), get_class($lockImplementor));
    }