public function testHashedClassName() { $classNameWithHash = CommanderUtilities::getClassNameWithHash(new HashableTestClass()); $this->assertSame("HashableTestClass_abc4500", $classNameWithHash); }
/** * @param TestableLockableCommand $command * * @return string */ private function getCommandLockfilePath(TestableLockableCommand $command) { $classNameWithHash = CommanderUtilities::getClassNameWithHash($command); return self::$lockFileDir . '/' . $classNameWithHash . '.lock'; }