### Question:
RequestProviderService { public String getEncodedTppQwacCert() { return getHeader(TPP_QWAC_CERTIFICATE_HEADER); }  Optional<Boolean> resolveTppRedirectPreferred(); RequestData getRequestData(); PsuIdData getPsuIdData(); @NotNull UUID getInternalRequestId(); @Nullable String getInstanceId(); String getInternalRequestIdString(); UUID getRequestId(); String getRequestIdString(); boolean isRequestFromPsu(); boolean isRequestFromTPP(); String getPsuIpAddress(); String getTppRedirectURI(); String getTppNokRedirectURI(); String getOAuth2Token(); String getTppRolesAllowedHeader(); @NotNull String getAcceptHeader(); String getContentTypeHeader(); String getEncodedTppQwacCert(); String getTppBrandLoggingInformationHeader(); Boolean getTppRejectionNoFundsPreferred();  }### Answer:
@Test void getEncodedTppQwacCert() { when(httpServletRequest.getHeader(TPP_QWAC_CERTIFICATE_HEADER)).thenReturn(TPP_QWAC_CERTIFICATE_HEADER_VALUE); String encodedTppQwacCert = requestProviderService.getEncodedTppQwacCert(); assertEquals(TPP_QWAC_CERTIFICATE_HEADER_VALUE, encodedTppQwacCert); }