Map<String, String> queryParams = new HashMap<>();
queryParams.put("org_id", orgnr);
if (avsenderenhet != null) {
queryParams.put("part_id", avsenderenhet);
}
<BUG>return senderInformation.get(orgnr + optional(avsenderenhet).map(prepend("-")).orElse(""),
</BUG>
getResource(getEntryPoint().getSenderInformationUri().getPath(), queryParams, SenderInformation.class));
}
@Override

Map<String, String> queryParams = new HashMap<>();
queryParams.put("org_id", orgnr);
if (avsenderenhet != null) {
queryParams.put("part_id", avsenderenhet);
}
return senderInformation.get(orgnr + ofNullable(avsenderenhet).map(enhet -> "-" + enhet).orElse(""),
getResource(getEntryPoint().getSenderInformationUri().getPath(), queryParams, SenderInformation.class));
}
@Override
