### Question:
Client extends AbstractClient { @Override public <SUBSCRIPTION extends Subscription> SUBSCRIPTION getSubscription( String id ) throws UnsuccessfulRequestException, HttpSocketTimeoutException, HttpConnectionTimeoutException, HttpConnectionFailException, HttpIOException { return super.getSubscription( id ); } Client( String apiToken );  Client( String apiToken, Integer maxConnections );  Client(
		String apiToken,
		Integer connectionTimeout,
		Integer socketTimeout,
		Integer maxConnectionRetries
	);  Client(
		String apiToken,
		Integer maxConnections,
		Integer connectionTimeout,
		Integer socketTimeout,
		Integer maxConnectionRetries
	);  Client(
		String apiToken,
		Integer maxConnections,
		Integer connectionTimeout,
		Integer socketTimeout,
		Integer maxConnectionRetries,
		Integer connectionPoolTimeout,
		Integer inactivityTimeBeforeStaleCheck
	);  Client( String apiToken, String apiUrl );  Client( String apiToken, String apiUrl, Integer maxConnections );  Client(
		String apiToken,
		String apiUrl,
		Integer connectionTimeout,
		Integer socketTimeout,
		Integer maxConnectionRetries
	);  Client(
		String apiToken,
		String apiUrl,
		Integer maxConnections,
		Integer connectionTimeout,
		Integer socketTimeout,
		Integer maxConnectionRetries
	);  Client(
		String apiToken,
		String apiUrl,
		Integer maxConnections,
		Integer connectionTimeout,
		Integer socketTimeout,
		Integer maxConnectionRetries,
		Integer connectionPoolTimeout,
		Integer inactivityTimeBeforeStaleCheck
	); @Override Channel getChannel( String channelType ); @Override Channel getChannel( ChannelType channelType ); @Override List<Subscription> listSubscriptions(); @Override SUBSCRIPTION createSubscription( SUBSCRIPTION subscription ); @Override SUBSCRIPTION getSubscription( String id ); @Override SUBSCRIPTION updateSubscription( SUBSCRIPTION subscription ); @Override SUBSCRIPTION updateSubscription( String id, PartialSubscription partialSubscription ); @Override void deleteSubscription( String id );  }### Answer:
@Test public void messageStatusSubscriptionNotFoundGet() throws Exception { Client client = new Client( "API_TOKEN", "http: try { client.getSubscription( "789" ); fail(); } catch( UnsuccessfulRequestException exception ) { assertEquals( "NOT_FOUND", exception.getBody().code ); assertEquals( "Subscription with id [789] not found", exception.getBody().message ); assertNotNull( exception.getBody().details ); assertEquals( 0, exception.getBody().details.size() ); } client.close(); }