public void BuildMailPriority_WithSeverityDebug_ReturnsMailPriorityNormal() { // Arrange var expectedPriority = MailPriority.Normal; // Act MailPriority actualPriority = MailLoggingProvider.DetermineMailPriority(LoggingEventType.Debug); // Assert Assert.AreEqual(expectedPriority, actualPriority); }
public void BuildMailPriority_WithSeverityCritical_ReturnsMailPriorityHigh() { // Arrange var expectedPriority = MailPriority.High; // Act MailPriority actualPriority = MailLoggingProvider.DetermineMailPriority(LoggingEventType.Critical); // Assert Assert.AreEqual(expectedPriority, actualPriority); }