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