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;
    }