CloudWatchLogsAppender.Tests.LogsEventParserTests.TrailingNames C# (CSharp) Метод

TrailingNames() приватный Метод

private TrailingNames ( ) : void
Результат void
        public void TrailingNames()
        {
            var parser = new LogsEventMessageParser();
            for (int i = 0; i < 2; i++)
            {
                var parsedData = parser.Parse("A tick! StreamName: NewName GroupName: GName");

                var data = parsedData;

                Assert.That(data.Count(), Is.EqualTo(1));
                Assert.That(data.Select(x => x.StreamName), Has.All.EqualTo("NewName"));
                Assert.That(data.Select(x => x.GroupName), Has.All.EqualTo("GName"));
                Assert.That(data.Select(x => x.Message), Has.All.EqualTo("A tick!"));
            }
        }