Namespace: DeltaEngine.Tests.Core
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void LogWarning() { using (var logger = new MockLogger()) { Logger.Warning("Ohoh"); Assert.AreEqual("Ohoh", logger.LastMessage); Logger.Warning(new NullReferenceException()); Assert.IsTrue(logger.LastMessage.Contains("NullReferenceException")); } }
See Also