public void ParseValue(string expectedValue, string annotationValue) { var parser = new SqlAnnotationValueParser(annotationValue); var actualValue = parser.ParseValue(); Assert.Equal(expectedValue, actualValue); }
public void ParseArguments(string annotationValue, params string[] expectedParsedArguments) { IEnumerable <KeyValuePair <string, dynamic> > expectedArguments = BuildExpectedParsedArguments(expectedParsedArguments); var parser = new SqlAnnotationValueParser(annotationValue); IEnumerable <KeyValuePair <string, dynamic> > actualArguments = parser.ParseValueArguments(); Assert.Equal(expectedArguments, actualArguments); }