public void TestShortening()
        {
            var result = BitlyUrlShortenerHelper.ShortenUrl("http://www.google.co.uk/",
                                                            ConfigurationManager.AppSettings["BitlyApiKey"],
                                                            ConfigurationManager.AppSettings["BitlyLogin"]);

            Assert.AreNotEqual(string.Empty, result);
        }
        public void TestNoLongUrl()
        {
            var result = BitlyUrlShortenerHelper.ShortenUrl(string.Empty, "abc", "abc");

            Assert.AreEqual(string.Empty, result);
        }
 public void TestNoApiKey()
 {
     BitlyUrlShortenerHelper.ShortenUrl("http://", string.Empty, "abc");
 }
 public void TestNoLogin()
 {
     BitlyUrlShortenerHelper.ShortenUrl("http://", "abc", string.Empty);
 }
 public void TestNoParameters()
 {
     BitlyUrlShortenerHelper.ShortenUrl("http://", string.Empty, string.Empty);
 }