public void SerializeThenDeserializeShouldProduceOriginal() { // Serialize some information List <Byte> data = chatController.Serialize(message1); // Make sure the chatController isn't just spitting out the same thing Assert.That(!message1.Equals(data)); // Deserialize the result String resultingMessage = chatController.Deserialize(data); // Check the information is the same as the original Assert.That(resultingMessage.Equals(message1)); }