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