public void TestGetColumnTimestamp1() { _streamWriter.Write("2017-12-03 11:59:30 INFO Foo\r\n"); _streamWriter.Write("2017-12-03 12:00:00 INFO Bar\r\n"); _streamWriter.Flush(); _scheduler.RunOnce(); _file.Count.Should().Be(2); _file.GetColumn(new LogFileSection(0, 2), LogFileColumns.Timestamp).Should().Equal(new object[] { new DateTime(2017, 12, 3, 11, 59, 30), new DateTime(2017, 12, 3, 12, 00, 00) }); _file.GetColumn(new LogFileSection(1, 1), LogFileColumns.Timestamp) .Should().Equal(new DateTime(2017, 12, 3, 12, 00, 00)); }