Honour assets_base_url if used
Mock AssetTwigExtenstion as it is only available in the request scope