public void RegisterBundles_WithValidBundlesCollection_RegistersThemeBundle() { BundleCollection bundles = new BundleCollection(); BundleConfig.RegisterBundles(bundles); StyleBundle item = (bundles.SingleOrDefault(bundle => bundle.Path == Bundles.Styles.Theme) as StyleBundle); Assert.IsNotNull(item); }
public void RegisterBundles_WithValidBundlesCollection_RegistersBootstrapScripts() { BundleCollection bundles = new BundleCollection(); BundleConfig.RegisterBundles(bundles); ScriptBundle item = (bundles.SingleOrDefault(bundle => bundle.Path == Bundles.Scripts.Bootstrap) as ScriptBundle); Assert.IsNotNull(item); }