Ejemplo n.º 1
0
        public void TestInvalidSessionIdPlaceholder()
        {
            IXenObject host   = GetAnyHost();
            string     output = Placeholders.Substitute(@"hello {$sesion_id} there", host);

            Assert.AreEqual("hello {$sesion_id} there", output, "null connection session_id didn't work");
        }
Ejemplo n.º 2
0
        public void TestSessionIdWithNullConnection()
        {
            string text   = @"hello {$session_id} there";
            string output = Placeholders.Substitute(text, new Host());

            Assert.AreEqual("hello null there", output, "null connection session_id didn't work");
        }