### Question:
SwiftRestClient { public AccessToken authenticate() throws IOException { final AuthenticationRequest authenticationRequest; if (useKeystoneAuthentication) { authenticationRequest = keystoneAuthRequest; } else { authenticationRequest = authRequest; } LOG.debug("started authentication"); return perform("authentication", authUri, new AuthenticationPost(authenticationRequest)); } private  SwiftRestClient(URI filesystemURI,
                          Configuration conf); String getAuthEndpointPrefix(); void setAuthEndpointPrefix(String authEndpointPrefix); HttpBodyContent getData(URI url,
                                 long offset,
                                 long length); HttpBodyContent getData(SwiftObjectPath path,
                                 long offset,
                                 long length); long getContentLength(URI uri); long getContentLength(SwiftObjectPath path); HttpBodyContent getData(SwiftObjectPath path,
                                 final Header... requestHeaders); HttpBodyContent getData(URI url,
                                   final Header... requestHeaders); byte[] getObjectLocation(SwiftObjectPath path,
                                  final Header... requestHeaders); byte[] findObjectsByPrefix(SwiftObjectPath path,
                                    final Header... requestHeaders); byte[] listDeepObjectsInDirectory(SwiftObjectPath path,
                                           boolean listDeep,
                                           boolean addTrailingSlash,
                                       final Header... requestHeaders); boolean copyObject(SwiftObjectPath src, final SwiftObjectPath dst,
                            final Header... headers); void upload(SwiftObjectPath path,
                     final InputStream data,
                     final long length,
                     final Header... requestHeaders); boolean delete(SwiftObjectPath path, final Header... requestHeaders); Header[] headRequest(String reason,
                              SwiftObjectPath path,
                              final Header... requestHeaders); int putRequest(SwiftObjectPath path, final Header... requestHeaders); AccessToken authenticate(); void createContainer(String containerName); static SwiftRestClient getInstance(URI filesystemURI,
                                            Configuration config); static URI pathToURI(SwiftObjectPath path,
                              URI endpointURI); @Override String toString(); String getRegion(); String getTenant(); String getContainerTenant(); String getUsername(); String getContainer(); boolean isLocationAware(); long getBlocksizeKB(); int getPartSizeKB(); int getBufferSizeKB(); int getProxyPort(); String getProxyHost(); int getRetryCount(); int getConnectTimeout(); boolean isUsePublicURL(); int getThrottleDelay(); List<DurationStats> getOperationStatistics(); static final Header NEWEST; }### Answer:
@Test(timeout = SWIFT_TEST_TIMEOUT) public void testAuthenticate() throws Throwable { assumeEnabled(); SwiftRestClient client = createClient(); client.authenticate(); }