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