Do not output to console in SerializationTest.

This commit is contained in:
Daniel Kraus 2015-09-07 19:41:48 +02:00
parent c2d204ffeb
commit 300df897de

View File

@ -50,7 +50,7 @@ namespace Tests.Controller
serializer.Serialize(stream, element); serializer.Serialize(stream, element);
stream.Position = 0; stream.Position = 0;
StreamReader sr = new StreamReader(stream); StreamReader sr = new StreamReader(stream);
Console.WriteLine(sr.ReadToEnd()); // Console.WriteLine(sr.ReadToEnd());
stream.Position = 0; stream.Position = 0;
SelectFirstDay deserialized = serializer.Deserialize(stream) as SelectFirstDay; SelectFirstDay deserialized = serializer.Deserialize(stream) as SelectFirstDay;
Assert.IsNotNull(deserialized); Assert.IsNotNull(deserialized);