public void It_should_apply_default_transforms()
        {
            var generatorNode = new GeneratorNode <Person>(3);

            var transform1 =
                new NotGuardedTransform <Person>(new FuncTransform <Person, string>(x => x.FirstName = "Martha"));
            var transform2 =
                new NotGuardedTransform <Person>(new FuncTransform <Person, string>(x => x.LastName = "Kane"));
            var persons = generatorNode.GenerateInstances(new[] { transform1, transform2 });

            foreach (var person in persons)
            {
                person.FirstName.Should().Be("Martha");
                person.LastName.Should().Be("Kane");
            }
        }
        public void It_should_apply_default_transforms_before_normal_transforms()
        {
            var generatorNode = new GeneratorNode <Person>(3);

            generatorNode.AddTransform(
                new FuncTransform <Person, string>(x => x.FirstName = "Jonathan"),
                new AlwaysApplyTransformSpecification()
                );

            var transform1 =
                new NotGuardedTransform <Person>(new FuncTransform <Person, string>(x => x.FirstName = "Martha"));
            var transform2 =
                new NotGuardedTransform <Person>(new FuncTransform <Person, string>(x => x.LastName = "Kane"));
            var persons = generatorNode.GenerateInstances(new[] { transform1, transform2 });

            foreach (var person in persons)
            {
                person.FirstName.Should().Be("Jonathan");
                person.LastName.Should().Be("Kane");
            }
        }