### Question:
AbstractClient implements Closeable { @SuppressWarnings( "unchecked" ) public <SUBSCRIPTION extends Subscription> SUBSCRIPTION getSubscription( String id ) throws UnsuccessfulRequestException, HttpSocketTimeoutException, HttpConnectionTimeoutException, HttpConnectionFailException, HttpIOException { return (SUBSCRIPTION) get( subscriptionApiUrl, id, Subscription.class ); } AbstractClient( String apiToken );  AbstractClient(
		String apiToken,
		Integer maxConnections
	);  AbstractClient(
		String apiToken,
		Integer connectionTimeout,
		Integer socketTimeout,
		Integer maxConnectionRetries
	);  AbstractClient(
		String apiToken,
		Integer maxConnections,
		Integer connectionTimeout,
		Integer socketTimeout,
		Integer maxConnectionRetries
	);  AbstractClient(
		String apiToken,
		Integer maxConnections,
		Integer connectionTimeout,
		Integer socketTimeout,
		Integer maxConnectionRetries,
		Integer connectionPoolTimeout,
		Integer inactivityTimeBeforeStaleCheck
	);  AbstractClient( String apiToken, String apiUrl );  AbstractClient(
		String apiToken,
		String apiUrl,
		Integer maxConnections
	);  AbstractClient(
		String apiToken,
		String apiUrl,
		Integer connectionTimeout,
		Integer socketTimeout,
		Integer maxConnectionRetries
	);  AbstractClient(
		String apiToken,
		String apiUrl,
		Integer maxConnections,
		Integer connectionTimeout,
		Integer socketTimeout,
		Integer maxConnectionRetries
	);  AbstractClient(
		String apiToken,
		String apiUrl,
		Integer maxConnections,
		Integer connectionTimeout,
		Integer socketTimeout,
		Integer maxConnectionRetries,
		Integer connectionPoolTimeout,
		Integer inactivityTimeBeforeStaleCheck
	); private  AbstractClient(
		String apiToken,
		String apiUrl,
		PoolingHttpClientConnectionManager connectionPool,
		RequestConfig defaultRequestConfig,
		DefaultHttpRequestRetryHandler requestRetryHandler,
		ConnectionConfig defaultConnectionConfig,
		ConnectionReuseStrategy connectionReuseStrategy
	); Channel getChannel( String channelType ); Channel getChannel( ChannelType channelType ); List<Subscription> listSubscriptions(); @SuppressWarnings( "unchecked" ) SUBSCRIPTION createSubscription( SUBSCRIPTION subscription ); @SuppressWarnings( "unchecked" ) SUBSCRIPTION getSubscription( String id ); SUBSCRIPTION updateSubscription( SUBSCRIPTION subscription ); @SuppressWarnings( "unchecked" ) SUBSCRIPTION updateSubscription( String id, PartialSubscription partialSubscription ); void deleteSubscription( String id ); String getApiUrl(); @Override void close(); int getMaxConnections(); int getInactivityTimeBeforeStaleCheck(); int getConnectionPoolTimeout(); int getConnectionTimeout(); int getSocketTimeout(); int getMaxConnectionRetries(); @Override String toString(); static final String DEFAULT_URL; static final int DEFAULT_MAX_CONNECTIONS; static final int DEFAULT_CONNECTION_TIMEOUT; static final int DEFAULT_SOCKET_TIMEOUT; static final int DEFAULT_CONNECTION_POOL_TIMEOUT; static final int DEFAULT_MAX_CONNECTION_RETRIES; static final int DEFAULT_INACTIVITY_TIME_BEFORE_STALE_CHECK; }### Answer:
@Test public void getSubscription() throws Exception { AbstractClient client = new TestClient( "API_TOKEN" ); Subscription subscription = client.getSubscription( "123" ); assertNotNull( subscription ); client.close(); }