public DataContractEventArgsSerializerTest()
        {
            this.eventArgsToSerialize = new CustomEventArgs(true);

            using (MemoryStream ms = new MemoryStream())
            {
                var serializer = new DataContractSerializer(typeof(CustomEventArgs));
                serializer.WriteObject(ms, this.eventArgsToSerialize);
                this.inputAndOutput = Convert.ToBase64String(ms.ToArray());
            }

            this.testee = new DataContractEventArgsSerializer();
        }
        public DataContractEventArgsSerializerTest()
        {
            this.eventArgsToSerialize = new CustomEventArgs(true);

            using (MemoryStream ms = new MemoryStream())
            {
                var serializer = new DataContractSerializer(typeof(CustomEventArgs));
                serializer.WriteObject(ms, this.eventArgsToSerialize);
                this.inputAndOutput = Convert.ToBase64String(ms.ToArray());
            }

            this.testee = new DataContractEventArgsSerializer();
        }