Beispiel #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));
        }
Beispiel #2
0
        public void HaveProperResourceName()
        {
            var clientScript = new Metadata();

            Assert.Equal("glimpse_metadata", clientScript.GetResourceName());
        }
Beispiel #3
0
        public void BeInTheProperOrder()
        {
            var clientScript = new Metadata();

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