public static StreetNamePersistentLocalIdWasAssigned WithPersistentLocalId(this StreetNamePersistentLocalIdWasAssigned e, int persistentLocalId) { return(new StreetNamePersistentLocalIdWasAssigned(new StreetNameId(e.StreetNameId), new PersistentLocalId(persistentLocalId), new PersistentLocalIdAssignmentDate(e.AssignmentDate))); }
public static StreetNamePersistentLocalIdWasAssignedAssertions Should(this StreetNamePersistentLocalIdWasAssigned subject) { return(new StreetNamePersistentLocalIdWasAssignedAssertions(subject)); }
private void When(StreetNamePersistentLocalIdWasAssigned @event) { _persistentLocalId = new PersistentLocalId(@event.PersistentLocalId); }