FederatedUserApprovalHandler implements UserApprovalHandler { @Override @SuppressWarnings("unchecked") public Map<String, Object> getUserApprovalRequest(AuthorizationRequest authorizationRequest, Authentication userAuthentication) { return Collections.EMPTY_MAP; }  @Override boolean isApproved(AuthorizationRequest authorizationRequest, Authentication userAuthentication); @Override AuthorizationRequest checkForPreApproval(AuthorizationRequest authorizationRequest, Authentication userAuthentication); @Override AuthorizationRequest updateAfterApproval(AuthorizationRequest authorizationRequest, Authentication userAuthentication); @Override @SuppressWarnings("unchecked") Map<String, Object> getUserApprovalRequest(AuthorizationRequest authorizationRequest, Authentication userAuthentication);  }
@Test public void testGetUserApprovalRequest() throws Exception { assertEquals(0, subject.getUserApprovalRequest(request, authentication).size()); }