public void Can_process_a_dictionary() { var reader = new DictionaryReader(); reader.CanProcess(typeof (IDictionary<string, string>)).ShouldBeTrue(); reader.CanProcess(typeof (IDictionary<int, string>)).ShouldBeTrue(); reader.CanProcess(typeof (IDictionary<string, int>)).ShouldBeTrue(); reader.CanProcess(typeof (Dictionary<string, string>)).ShouldBeTrue(); reader.CanProcess(typeof (Dictionary<int, string>)).ShouldBeTrue(); reader.CanProcess(typeof (Dictionary<string, int>)).ShouldBeTrue(); }
public void Can_process_a_dictionary() { var reader = new DictionaryReader(); reader.CanProcess(typeof(IDictionary <string, string>)).ShouldBeTrue(); reader.CanProcess(typeof(IDictionary <int, string>)).ShouldBeTrue(); reader.CanProcess(typeof(IDictionary <string, int>)).ShouldBeTrue(); reader.CanProcess(typeof(Dictionary <string, string>)).ShouldBeTrue(); reader.CanProcess(typeof(Dictionary <int, string>)).ShouldBeTrue(); reader.CanProcess(typeof(Dictionary <string, int>)).ShouldBeTrue(); }