Example #1
0
        public void ProcessTestSuite()
        {
            XDocument xmlDoc = XDocument.Parse(GenerateTest("Success"));

            _subject.ProcessTestSuite(xmlDoc.Root.Element("test-suite"));
            _suiteLogger.AssertWasCalled(x => x.WriteTestStarted(_passingTestName));
            _testLogger.AssertWasCalled(x => x.WriteTestPassed(Arg <TimeSpan> .Is.Anything));
        }