public void FromName_should_find_provider() { Assert.IsInstanceOf <HtmlProviderFactory>( App.GetProvider <DomProviderFactory>("html") ); Assert.IsInstanceOf <HtmlProviderFactory>(DomProviderFactory.FromName("html")); }
public void FromName_should_obtain_default_by_name() { Assert.Equal(DomProviderFactory.Default, DomProviderFactory.FromName("Default")); }