Exemplo n.º 1
0
        public ISagaVersionBuilder AddVersion(string version)
        {
            var versionAnalyzer = _factory.Create(version);

            VersionAnalyzer.Add(versionAnalyzer);

            return(versionAnalyzer);
        }
        public void TokenizerNormalizesVersionInput(string text, TokenAttributes expected)
        {
            // arrange, act
            var actual = new VersionAnalyzer().Tokenize(text);

            // assert
            Assert.Equal(new[] { expected }, actual);
        }
        public ISagaVersionBuilder AddVersion(string version)
        {
            var versionAnalyzer = new SagaProfileVersionAnalyzerMock(version);

            VersionAnalyzer.Add(versionAnalyzer);

            return(versionAnalyzer);
        }