public void No_encoding_by_default()
        {
            var encoder = new AuthEncoder();

            var xml = XmlHelper.Create();
            string fmt = string.Empty;
            var encodedString = encoder.Encode(xml, fmt);

            Assert.That(encodedString, Is.EqualTo(xml));
        }
        public void Encode_to_base64_given_fmt_is_base64()
        {
            var encoder = new AuthEncoder();

            var xml = XmlHelper.Create();
            string fmt = "base64";
            var encodedString = encoder.Encode(xml, fmt);

            Assert.That(xml, Is.Not.EqualTo(encodedString));
        }