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()); }
private Reference NewAuthor(Action <ReferenceBuilder> setUp = null) { ReferenceBuilder referenceBuilder = new ReferenceBuilder(); setUp?.Invoke(referenceBuilder); return(referenceBuilder.Build()); }