public void Can_alter_Message_after_deformatting()
        {
            var f = new TestExtenededMessageFormatter(new Utf8MessageSerializer(null), new JsonMessageStringifier(null));

            var a = f.Deformat(f.Format(new MyTestMessage() { Set = "DDD" }));

            ((MyTestMessage)a).Altered.Should().Be("AAA");
        }
        public void Formats_and_Deformats()
        {
            var f = new TestExtenededMessageFormatter(new Utf8MessageSerializer(null), new JsonMessageStringifier(null));

            var a = f.Deformat(f.Format(new MyTestMessage() {Set = "DDD"}));

            ((MyTestMessage) a).Set.Should().Be("DDD");
        }