protected static function createFreshMockInstance()
    {
        $name = static::getFacadeAccessor();

        self::$resolvedInstance[$name] = $mock = static::createMockInstance();

        $mock->shouldAllowMockingProtectedMethods();

        if (isset(static::$di)) {
            static::$di->setShared($name, $mock);
        }

        return $mock;
    }
protected static function createFreshMockInstance()
    {
        $name = static::getFacadeAccessor();

        self::$resolvedInstance[$name] = $mock = static::createMockInstance();

        $mock->shouldAllowMockingProtectedMethods();

        if (isset(static::$di)) {
            static::$di->setShared($name, $mock);
        }

        return $mock;
    }
protected static function createFreshMockInstance ( ) { $ name = static :: getFacadeAccessor ( ) ; self :: $ resolvedInstance [ $ name ] = $ mock = static :: createMockInstance ( ) ; $ mock -> shouldAllowMockingProtectedMethods ( ) ; if ( isset ( static :: $ di ) ) { static :: $ di -> setShared ( $ name , $ mock ) ; } return $ mock ; }
Create a fresh mock instance.

@return MockInterface
Create a fresh mock instance .