AjaxControlToolkit.Tests.BundleResolverTests.CustomBundleWithoutConfigFileShouldErrorTest C# (CSharp) Метод

CustomBundleWithoutConfigFileShouldErrorTest() приватный Метод

private CustomBundleWithoutConfigFileShouldErrorTest ( ) : void
Результат void
        public void CustomBundleWithoutConfigFileShouldErrorTest()
        {
            var resolver = new BundleResolver(_moqCache.Object);
            Assert.Throws<Exception>(() => resolver.GetControlTypesInBundles(new[] { "Accordion" }, "nonexistantfile"), "AjaxControlToolkit.config file is not defined");
        }