public EntityAttributeChangeBatchTests() { entityAttributeChangeLogger = Substitute.For <IEntityAttributeChangeLogger>(); sut = new EntityAttributeChangeBatch(entityAttributeChangeLogger, aggregateId, aggregateClassId, entityId, entityClassId); }
public EntityAttributeChangeBatch(IEntityAttributeChangeLogger entityAttributeChangeLogger, Guid?aggregateId, Guid?aggregateClasId, Guid?entityId, Guid?entityClassId, Guid?userId = null) { this.entityAttributeChangeLogger = entityAttributeChangeLogger; this.aggregateId = aggregateId; this.aggregateClasId = aggregateClasId; this.entityId = entityId; this.entityClassId = entityClassId; this.userId = userId; }