}
}
public void initializeData() {
if (initialized.compareAndSet(false, true)) {
CreateContactCommand commandAllard = new CreateContactCommand();
commandAllard.setNewContactName("Allard");
String uuidAllard = UUID.randomUUID().toString();
commandAllard.setContactId(uuidAllard);
commandBus.dispatch(new GenericCommandMessage<Object>(commandAllard));
CreateContactCommand commandJettro = new CreateContactCommand();
commandJettro.setNewContactName("Jettro");
String uuidJettro = UUID.randomUUID().toString();
commandJettro.setContactId(uuidJettro);
commandBus.dispatch(new GenericCommandMessage<Object>(commandJettro));
RegisterAddressCommand registerPrivateAddressCommand = new RegisterAddressCommand();
registerPrivateAddressCommand.setAddressType(AddressType.PRIVATE);
registerPrivateAddressCommand.setCity("The Hague");