public static ProposeStreetName WithRandomStreetName(this ProposeStreetName command, Fixture fixture)
 {
     return(new ProposeStreetName(command.MunicipalityId, new Names(new List <StreetNameName> {
         fixture.Create <StreetNameName>()
     }), command.PersistentLocalId, command.Provenance));
 }
 public static ProposeStreetName WithMunicipalityId(this ProposeStreetName command, MunicipalityId municipalityId)
 {
     return(new ProposeStreetName(municipalityId, command.StreetNameNames, command.PersistentLocalId, command.Provenance));
 }