public void ProtobuffSerializationTest_2_RegularOrleansSerializationStillWorks() { var input = new OrleansType(); var output = SerializationManager.RoundTripSerializationForTesting(input); Assert.NotSame(input, output); //The serializer returned an instance of the same object Assert.Equal(input, output); //The serialization didn't preserve the proper value }
public void ProtobuffSerializationTest_2_RegularOrleansSerializationStillWorks() { var input = new OrleansType(); var output = SerializationManager.RoundTripSerializationForTesting(input); Assert.AreNotSame(input, output, "The serializer returned an instance of the same object"); Assert.AreEqual(input, output, "The serialization didn't preserve the proper value"); }