public void WritesTwoMessagesToBuffer() { var terminal = new ClientTerminal(); terminal.WriteLine("hello"); terminal.WriteLine("world"); Assert.AreEqual(2, terminal.GetBuffer().Count); Assert.AreEqual("hello", terminal.GetBuffer()[0].Message); Assert.AreEqual("world", terminal.GetBuffer()[1].Message); }