public void ConstructorThrowsExceptionForNullTextFormatter()
 {
     var localTextFileListener = new LocalTextFileListener("logs");
     var listener = new FlushTextFileListener(localTextFileListener, null);
 }
 public void ConstructorThrowsExceptionForNullLocalTextFileListener()
 {
     ITextFormatter textFormatter = new Mock <ITextFormatter>().Object;
     var            listener      = new FlushTextFileListener(null, textFormatter);
 }