public void CanPostUnregisteredType()
        {
            UnregisteredClass data = new UnregisteredClass { Text = "Hello" };
              Request request = Session.Bind(AnyEchoTemplate);

              Response<UnregisteredClass> response = request.Accept("application/json").ContentType("application/json").Post<UnregisteredClass>(data);

              Assert.AreEqual(data.Text, response.Body.Text);
        }
        public void CanPostUnregisteredTypeWithShorthand()
        {
            UnregisteredClass data = new UnregisteredClass { Text = "Hello" };
              Request request = Session.Bind(XmlEchoTemplate);

              using (Response<UnregisteredClass> response = request.AsXml().AcceptXml().Post<UnregisteredClass>(data))
              {
            Assert.AreEqual(data.Text, response.Body.Text);
              }
        }
        public void CanPostUnregisteredTypeUsingShorthand()
        {
            UnregisteredClass data = new UnregisteredClass { Text = "Hello" };
              Request request = Session.Bind(AnyEchoTemplate);

              Response<UnregisteredClass> response = request.AsJson().AcceptJson().Post<UnregisteredClass>(data);

              Assert.AreEqual(data.Text, response.Body.Text);
        }