### Question:
StatefulAccessToken extends StatefulToken implements AccessToken { @Override public String getClientId() { final Set<String> value = getParameter(CLIENT_ID); if (value != null && !value.isEmpty()) { return value.iterator().next(); } return null; } StatefulAccessToken(JsonValue token);  StatefulAccessToken(JsonValue token, String tokenName, String tokenId);  StatefulAccessToken(String id, String authorizationCode, String resourceOwnerId, String clientId,
            String redirectUri, Set<String> scope, long expiryTime, RefreshToken refreshToken,
            String tokenName, String grantType, String nonce, String realm, String claims,
            String auditTrackingId); void setClaims(String claims); @Override Set<String> getScope(); @Override String getClientId(); @Override String getResourceOwnerId(); @Override String getTokenId(); String getRealm(); @Override String getTokenName(); @Override long getExpiryTime(); @Override String getTokenType(); @Override String getNonce(); @Override String getSessionId(); @Override String getGrantType(); @Override Map<String, Object> toMap(); @Override Map<String, Object> getTokenInfo(); @Override AuditConstants.TrackingIdKey getAuditTrackingIdKey(); @Override void addExtraData(String key, String value); @Override String getAuditTrackingId(); @Override String toString();  }### Answer:
@Test public void testGetClientId() throws Exception { openAMAccessToken.setClientId(CLIENT_1); String clientId = openAMAccessToken.getClientId(); assertThat(clientId).isEqualTo(CLIENT_1); }