public void ClearLoggers_RemoveAllLoggers() { var mock = new Mock <ILogger>(); jobLogger.AddLogger(mock.Object); jobLogger.AddLogger(mock.Object); jobLogger.ClearLoggers(); Assert.AreEqual(0, jobLogger.CountLoggers); }
public void ClearLoggers_RemoveAllLoggers() { var mock = new Mock <ILogger>(); jobLogger.AddLogger(mock.Object); jobLogger.AddLogger(mock.Object); jobLogger.ClearLoggers(); Assert.AreEqual(0, jobLogger.CountLoggers); }