public static AssetResolver BuildTestResolver( IBundleLookup bundleLookup = null, IPathFormatter pathFormatter = null, IBunderCache cache = null, BunderSettings settings = null) { if (bundleLookup == null) { bundleLookup = new Mock <IBundleLookup>().Object; } if (pathFormatter == null) { pathFormatter = new MockPathFormatter(); } if (settings == null) { settings = new BunderSettings(); } if (cache == null) { cache = new Mock <IBunderCache>().Object; } return(new AssetResolver(bundleLookup, pathFormatter, cache, settings)); }
public AssetResolver( IBundleLookup bundleLookup, IPathFormatter pathFormatter, IBunderCache cache, BunderSettings settings) { BundleLookup = bundleLookup; PathFormatter = pathFormatter; Cache = cache; Settings = settings; }