public void TypeScript_builds_url()
        {
            var typeHandler = new TypeScriptNativeTypesHandler();
            Dictionary <string, string> validUrls = new Dictionary <string, string>
            {
                { "http://localhost:8080/", "http://localhost:8080/types/typescript.d" },
                { "http://example.com", "http://example.com/types/typescript.d" },
                { "https://localhost:81/apis", "https://localhost:81/apis/types/typescript.d" },
                { "https://localhost", "https://localhost/types/typescript.d" }
            };

            foreach (var validUrl in validUrls)
            {
                Assert.AreEqual(validUrl.Value, typeHandler.GenerateUrl(validUrl.Key, null));
            }
        }
        public void TestLanguageStatsName()
        {
            var typesHandler = new TypeScriptNativeTypesHandler();

            Assert.AreEqual("typescript.d", typesHandler.RelativeTypesUrl.Substring(6));
        }