Example #1
0
        public void ExtractValuesAddsExtractedValuesToDictionary()
        {
            var values = new SortedDictionary <string, string>();

            _lineClassWithExtracts.ExtractValues(values, new SimpleRow("Hello", "World"));
            Assert.Collection(values, x => /*Bar*/ Assert.Equal("World", x.Value),
                              x => /*Foo*/ Assert.Equal("He", x.Value));
        }
Example #2
0
        public void ExtractValuesWhenValuesToExtractIsNullDoesNotThrow()
        {
            var lt = new LineClass();

            lt.ExtractValues(new Dictionary <string, string>(), new SimpleRow("Hello", "World"));
        }