public void should_create_generic_dictionary_instance() { var instance = new CachedType(typeof(IDictionary <string, int>)).CreateGenericDictionaryInstance(); instance.ShouldNotBeNull(); instance.ShouldBeType <Dictionary <string, int> >(); }
public void should_create_generic_list_intstance() { var instance = new CachedType(typeof(IList <string>)).CreateGenericListInstance(); instance.ShouldNotBeNull(); instance.ShouldBeType <List <string> >(); }
public void should_create_generic_dictionary_instance() { var instance = new CachedType(typeof(IDictionary<string, int>)).CreateGenericDictionaryInstance(); instance.ShouldNotBeNull(); instance.ShouldBeType<Dictionary<string, int>>(); }
public void should_create_generic_list_intstance() { var instance = new CachedType(typeof(IList<string>)).CreateGenericListInstance(); instance.ShouldNotBeNull(); instance.ShouldBeType<List<string>>(); }