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());
        }
예제 #3
0
        private Reference NewAuthor(Action <ReferenceBuilder> setUp = null)
        {
            ReferenceBuilder referenceBuilder = new ReferenceBuilder();

            setUp?.Invoke(referenceBuilder);

            return(referenceBuilder.Build());
        }