public TestPersonBuilder AddChild(TestChild testChild)
        {
            var children = _testPerson.Children.ToList();

            children.Add(testChild);
            _testPerson.Children = children;

            return(this);
        }
Example #2
0
 private TestChildBuilder()
 {
     _testChild = new TestChild();
 }