public void Create(String message, String regex, ParsedDataStub expectedResult)
        {
            var span = message.ToSnapshotSpan();

            var match        = Regex.Match(message, regex);
            var actualResult = ParsedData.Create <ParsedDataStub>(match, span.Span);

            actualResult.Should().BeEquivalentTo(expectedResult);
        }
        public void Create(String message, String regex, ParsedDataStub expectedResult)
        {
            var span = Utils.CreateSpan(message);

            var match        = Regex.Match(span.GetText(), regex);
            var actualResult = ParsedData.Create <ParsedDataStub>(match, span.Span);

            actualResult.ShouldBeEquivalentTo(expectedResult);
        }