private Reference NewUser(Action <ReferenceBuilder> setUp = null)
        {
            ReferenceBuilder userBuilder = new ReferenceBuilder();

            setUp?.Invoke(userBuilder);

            return(userBuilder.Build());
        }
        protected static Reference NewReference(Action <ReferenceBuilder> setUp = null)
        {
            ReferenceBuilder referenceBuilder = new ReferenceBuilder();

            setUp?.Invoke(referenceBuilder);

            return(referenceBuilder.Build());
        }
Ejemplo n.º 3
0
        private Reference NewAuthor(Action <ReferenceBuilder> setUp = null)
        {
            ReferenceBuilder referenceBuilder = new ReferenceBuilder();

            setUp?.Invoke(referenceBuilder);

            return(referenceBuilder.Build());
        }