public void ToStringTest() { SystemLog sysLog = new SystemLog(1, "system log to test", 1); string toCheck1 = "Log Id is: " + sysLog.LogId + " msg is: " + sysLog.Msg + "to room Id: " + sysLog.RoomId; Assert.AreEqual(sysLog.ToString(), toCheck1); }