public void CloseTest() { WorkstationLogger_Accessor.WriteLog("test log"); Assert.IsTrue(WorkstationLogger_Accessor.myFile.BaseStream.CanWrite); WorkstationLogger_Accessor.Close(); Assert.IsNull(WorkstationLogger_Accessor.myFile.BaseStream); }
public void WriteLogTest() { WorkstationLogger_Accessor.WriteLog("test log"); Assert.IsTrue(WorkstationLogger_Accessor.myFile.BaseStream.CanWrite); }