public void testWithAccessTokenAndClientAuth()
throws Exception {
URI endpointURI = new URI("https://c2id.com/token/revoke");
Token token = new BearerAccessToken();
ClientAuthentication clientAuth = new ClientSecretBasic(new ClientID("123"), new Secret("secret"));
TokenRevocationRequest request = new TokenRevocationRequest(endpointURI, clientAuth, token);
assertEquals(endpointURI, request.getEndpointURI());
assertEquals(clientAuth, request.getClientAuthentication());
assertEquals(token, request.getToken());