public void Ctor_FileLogCreated_NoError() { ILogOutput outLog = new ConsoleOutput(); ILogEntryFormatter entryFormatter = new FileFormatter(); Log uut = new Log(outLog, entryFormatter); }
public void Ctor_DeclareLogObjectWithNullOutput_ExceptionThrown() { ILogOutput outLog = null; ILogEntryFormatter entryFormatter = new FileFormatter(); Assert.Throws<ArgumentNullException>(() => new Log(outLog, entryFormatter)); }