public void VisitTarget_withTarget_generatesNode()
        {
            var target    = CreateTarget("sample");
            var generator = new NodeGenerator();

            generator.VisitTarget(target);
            Assert.That(generator.Nodes, Has.Count.EqualTo(1));
        }
        public void VisitTarget_missingTarget_throwsException()
        {
            var generator = new NodeGenerator();

            generator.VisitTarget(null);
        }