### Question:
UnicreditHeaders { public static Map<String, String> addPsuIdTypeHeader(Map<String, String> headers) { if (!POSSIBLE_PSU_ID_TYPE_VALUES.contains(headers.get(RequestHeaders.PSU_ID_TYPE))) { headers.put(RequestHeaders.PSU_ID_TYPE, DEFAULT_PSU_ID_TYPE); } return headers; } private  UnicreditHeaders(); static Map<String, String> addPsuIdTypeHeader(Map<String, String> headers); static final String HVB_ONLINE_BANKING; static final String UCE_BANKING_GLOBAL; static final String DEFAULT_PSU_ID_TYPE; }### Answer:
@Test void addPsuIdTypeHeaderDefault() { Map<String, String> header = addPsuIdTypeHeader(new HashMap<>()); assertThat(header).hasSize(1) .containsValues(DEFAULT_PSU_ID_TYPE); }
@Test void addPsuIdTypeHeaderNotSupported() { HashMap<String, String> headers = new HashMap<>(); headers.put(RequestHeaders.PSU_ID_TYPE, "UNSUPPORTED_PSU_ID_TYPE"); Map<String, String> header = addPsuIdTypeHeader(headers); assertThat(header).hasSize(1) .containsValues(DEFAULT_PSU_ID_TYPE); }
@Test void addPsuIdTypeHeaderGlobal() { HashMap<String, String> headers = new HashMap<>(); headers.put(RequestHeaders.PSU_ID_TYPE, UCE_BANKING_GLOBAL); Map<String, String> header = addPsuIdTypeHeader(headers); assertThat(header).hasSize(1) .containsValues(UCE_BANKING_GLOBAL); }