コード例 #1
0
        public void TestReadOneLine1()
        {
            _streamWriter.Write("Foo");
            _streamWriter.Flush();

            _taskScheduler.RunOnce();
            _source.GetProperty(Properties.LogEntryCount).Should().Be(1);
            var entry = _source.GetEntry(0);

            entry.Index.Should().Be(0);
            entry.LogEntryIndex.Should().Be(0);
            entry.RawContent.Should().Be("Foo");
        }