public void PassesThroughDebug()
 {
     string message = "a message";
       MockLog log = new MockLog();
       ProxyLog tested = new ProxyLog(log);
       tested.Debug(message);
       Assert.IsTrue(log.Any(x => x.Level == MockLog.Level.Debug && x.Message == message));
 }
 public void PassesThroughFormattedDebug()
 {
     string format = "message {0}";
       string arg = "arg";
       var formatProvider = CultureInfo.InvariantCulture;
       MockLog log = new MockLog();
       ProxyLog tested = new ProxyLog(log);
       tested.Debug(formatProvider, format, arg);
       Assert.IsTrue(log.Any(x => x.Level == MockLog.Level.Debug && x.Message == string.Format(formatProvider, format, arg)));
 }