public class TokenValidatorTest {
@Test
public void testValidator() {
OAuthClientValidator validator = new TokenValidator();
Assert.assertNotNull(validator.requiredParams);
Assert.assertEquals(1, validator.requiredParams.size());
Assert.assertArrayEquals(new String[] {}, validator.requiredParams.get(OAuth.OAUTH_ACCESS_TOKEN));
Assert.assertNotNull(validator.notAllowedParams);
Assert.assertEquals(1, validator.notAllowedParams.size());