Beispiel #1
0
        public void SerializationTests_Exception_Orleans()
        {
            var original = new SiloUnavailableException("Some message");
            var output   = this.fixture.SerializationManager.RoundTripSerializationForTesting(original);

            Assert.Equal(original.Message, output.Message);
        }
Beispiel #2
0
        public void SerializationTests_Exception_DotNet()
        {
            var original = new SiloUnavailableException("Some message");
            var output   = TestingUtils.RoundTripDotNetSerializer(original, this.fixture.GrainFactory, this.fixture.SerializationManager);

            Assert.Equal(original.Message, output.Message);
        }