public void ParserFailureTests(string input, string expectedErrorMessage) { var ex = Assert.Throws <FormatException>(() => DateTimeOffsetIso8601Converter.Parse(input)); Assert.Equal(expectedErrorMessage, ex.Message); }
public void ParserSuccessTests(string input) { DateTimeOffsetIso8601Converter.Parse(input); }