public void RedirectCommandToJsonTest()
        {
            Redirect redirect = new Redirect("http://foo.com");

            string json = redirect.toJson();

            Assert.IsNotNull(json);
            Assert.AreEqual(json, "{\"Redirect\":{\"actionUrl\":\"http://foo.com\"}}");
        }