예제 #1
0
        public void XmlOutputTo_ShouldPopulatePropertiesAndReturnSelf()
        {
            var         subject     = new NUnitRunner();
            string      file        = "c:\\temp\\out.xml";
            NUnitRunner nUnitRunner = subject.XmlOutputTo(file);

            Assert.That(nUnitRunner, Is.SameAs(subject));
            Assert.That(nUnitRunner._argumentBuilder.FindByName("xml"), Is.EqualTo(file));
        }