public void TestParseFile() { var entries = _accessLogParser.ParseLogs(LogFileFixture.ReadLogs()); entries.Should() .BeEquivalentTo(LogFileFixture.GetAccessEntries()); }
public void TestGetLogs() { var logs = _accessLog.GetLogs(); logs.Should() .BeEquivalentTo(LogFileFixture.ReadLogs()); }
// -------------------------------------------------------------------------------------------------- private void ExpectFullLogs() { _accessLogMock.Setup(accessLog => accessLog.GetLogs()) .Returns(LogFileFixture.ReadLogs()); }