### Question:
OAuthArguments { public UseToken getUseToken() { return useToken; } OAuthArguments(AuthType auth, HttpServletRequest request);  OAuthArguments(RequestAuthenticationInfo info);  OAuthArguments(AuthType auth,  Map<String, String> map);  OAuthArguments();  OAuthArguments(OAuthArguments orig); boolean mustUseToken(); boolean mayUseToken(); UseToken getUseToken(); void setUseToken(UseToken useToken); String getServiceName(); void setServiceName(String serviceName); String getTokenName(); void setTokenName(String tokenName); String getRequestToken(); void setRequestToken(String requestToken); String getRequestTokenSecret(); void setRequestTokenSecret(String requestTokenSecret); String getOrigClientState(); void setOrigClientState(String origClientState); boolean getBypassSpecCache(); void setBypassSpecCache(boolean bypassSpecCache); boolean getSignOwner(); void setSignOwner(boolean signOwner); boolean getSignViewer(); void setSignViewer(boolean signViewer); void setRequestOption(String name, String value); void removeRequestOption(String name); String getRequestOption(String name); String getRequestOption(String name, String def); boolean isProxiedContentRequest(); void setProxiedContentRequest(boolean proxiedContentRequest); boolean programmaticConfig(); String getReceivedCallbackUrl(); void setReceivedCallbackUrl(String receivedCallbackUrl); @Override int hashCode(); @Override boolean equals(Object obj); static final String PROGRAMMATIC_CONFIG_PARAM; static final String REQUEST_METHOD_PARAM; static final String PARAM_LOCATION_PARAM; static final String REQUEST_TOKEN_URL_PARAM; static final String ACCESS_TOKEN_URL_PARAM; static final String AUTHORIZATION_URL_PARAM; }### Answer:
@Test public void testInitFromRequest_oauthDefaults() throws Exception { FakeHttpServletRequest req = new FakeHttpServletRequest(); OAuthArguments args = new OAuthArguments(AuthType.OAUTH, req); assertEquals(UseToken.ALWAYS, args.getUseToken()); }