### Question:
SimpleHttpFacade implements OIDCHttpFacade { @Override public KeycloakSecurityContext getSecurityContext() { SecurityContext context = SecurityContextHolder.getContext(); if (context != null && context.getAuthentication() != null) { KeycloakAuthenticationToken authentication = (KeycloakAuthenticationToken) context.getAuthentication(); return authentication.getAccount().getKeycloakSecurityContext(); } return null; } SimpleHttpFacade(HttpServletRequest request, HttpServletResponse response); @Override KeycloakSecurityContext getSecurityContext(); @Override Request getRequest(); @Override Response getResponse(); @Override X509Certificate[] getCertificateChain();  }### Answer:
@Test public void shouldRetrieveKeycloakSecurityContext() { SimpleHttpFacade facade = new SimpleHttpFacade(new MockHttpServletRequest(), new MockHttpServletResponse()); assertNotNull(facade.getSecurityContext()); }