private XDocument GetTransformedResults()
        {
            var transformer = new NUnit2XmlTransformer(GetFileSystemWrapper());
            var summary = BuildTestCaseSummary();
            var result = transformer.Transform(summary);

            return XDocument.Parse(result);
        }
        public void Will_throw_if_test_summary_is_null()
        {
            var transformer = new NUnit2XmlTransformer(GetFileSystemWrapper());

            Exception ex = Record.Exception(() => transformer.Transform(null));

            Assert.IsType<ArgumentNullException>(ex);
        }