public void DebugMessageNotWrittenIfNotAllowed()
 {
     _message.Class.Returns(MessageClass.DebugMsg);
     _filter.AllowDebugMessages.Returns(false);
     _sut.Write(_message);
     _mockWriter.DidNotReceive().Write(_message);
 }