예제 #1
0
        public void ParserFailureTests(string input, string expectedErrorMessage)
        {
            var ex = Assert.Throws <FormatException>(() => DateTimeOffsetIso8601Converter.Parse(input));

            Assert.Equal(expectedErrorMessage, ex.Message);
        }
예제 #2
0
 public void ParserSuccessTests(string input)
 {
     DateTimeOffsetIso8601Converter.Parse(input);
 }