public void GivenCreatorIsEmptyWhenWritingXmlThenCreatorIsNotWritte()
        {
            GexfCreatorMetadata metadata = new GexfCreatorMetadata();
            XmlTestWriter       writer   = new XmlTestWriter(metadata, "");

            Assert.IsTrue(writer.ActualNormalizedXmlOutput.Length == 0);
        }
        public void GivenCreatorIsNotEmptyWhenWritingXmlThenCreatorIsWritten()
        {
            GexfCreatorMetadata metadata = new GexfCreatorMetadata {
                Creator = "John Doe"
            };
            XmlTestWriter writer = new XmlTestWriter(metadata, XmlOutput);

            Assert.AreEqual(writer.ExpectedNormalizedXmlOutput, writer.ActualNormalizedXmlOutput);
        }