use of se.inera.intyg.infra.integration.hsa.model.AbstractVardenhet in project webcert by sklintyg.
the class CreateUtkastFromTemplateBuilderTest method createWebcertUser.
private WebCertUser createWebcertUser() {
WebCertUser user = new WebCertUser();
user.setHsaId(HOSPERSON_ID);
user.setNamn(HOSPERSON_NAME);
se.inera.intyg.infra.integration.hsa.model.Vardgivare vGivare = new se.inera.intyg.infra.integration.hsa.model.Vardgivare();
vGivare.setId(VARDGIVARE_ID);
vGivare.setNamn(VARDENHET_NAME);
user.setVardgivare(Arrays.asList(vGivare));
AbstractVardenhet vardenhet = new se.inera.intyg.infra.integration.hsa.model.Vardenhet();
vardenhet.setId(VARDENHET_ID);
vardenhet.setNamn(VARDENHET_NAME);
user.setValdVardenhet(vardenhet);
user.setValdVardgivare(vGivare);
return user;
}
Aggregations