LoggerTests LogSameMessageMultipleTimes Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Core
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void LogSameMessageMultipleTimes()
Examples

[Test]
public void LogSameMessageMultipleTimes()
{
    using (var logger = new MockLogger())
    {
        Logger.Info("Hello");
        Logger.Info("Hello");
        Assert.AreEqual(1, logger.NumberOfRepeatedMessagesIgnored);
    }
}
See Also