Пример #1
0
        public void OverrideParameterValues()
        {
            var clientScript = new Metadata();

            var dictionary = new Dictionary<string, string>();

            clientScript.OverrideParameterValues(dictionary);

            Assert.True(dictionary.ContainsKey(ResourceParameter.Callback.Name));
        }
Пример #2
0
        public void HaveProperResourceName()
        {
            var clientScript = new Metadata();

            Assert.Equal("glimpse_metadata", clientScript.GetResourceName());
        }
Пример #3
0
        public void BeInTheProperOrder()
        {
            var clientScript = new Metadata();

            Assert.Equal(ScriptOrder.RequestMetadataScript, clientScript.Order);
        }