Beispiel #1
0
        public void TestGetLogsFromStartIndex()
        {
            var logs = _accessLog.GetLogs(2);

            logs.Should()
            .BeEquivalentTo(LogFileFixture.ReadLogsTrimmed());
        }
Beispiel #2
0
 private void ExpectLogsUsingStartIndex()
 {
     _accessLogMock.Setup(accessLog => accessLog.GetLogs(It.IsAny <long>()))
     .Returns(LogFileFixture.ReadLogsTrimmed());
 }