private static TestObjectFactory CreateTestObjectFactory() { var builderFactory = new BuilderFactory(); builderFactory.AddToFront <EntityParentBackreferenceValueBuilder>(); builderFactory.AddToFront <FakeEdFiTypeValueBuilder>(); builderFactory.AddToFront <FakeEdFiDescriptorValueBuilder>(); builderFactory.AddToFront <FakePersonIdentifierValueBuilder>(); StringValueBuilder.GenerateEmptyStrings = false; StringValueBuilder.GenerateNulls = false; var testObjectFactory = new TestObjectFactory( builderFactory.GetBuilders(), new SystemActivator(), new CustomAttributeProvider()); return(testObjectFactory); }