agave-systems/systems-core/src/test/java/org/iplantc/service/transfer/http/HTTPClientTest.java
/**
	 * Handles execution of the {@link RemoteDataClient#doesExist(String)} method for success and failure tests
	 * @param statusCode the http code to simulate from the url request
	 * @param shouldSucceed whether the assertion should be a true or false response
	 * @param message message given to the assertion
	 * @throws Exception if remote path returns unexpected response code
	 */
Handles execution of the  RemoteDataClient#doesExist(String) method for success and failure tests
@param statusCode the http code to simulate from the url request
@param shouldSucceed whether the assertion should be a true or false response
@param message message given to the assertion
@throws Exception if remote path returns unexpected response code
Handles execution of the RemoteDataClient#doesExist ( String ) method for success and failure tests @param statusCode the http code to simulate from the url request @param shouldSucceed whether the assertion should be a true or false response @param message message given to the assertion @throws Exception if remote path returns unexpected response code
protected void _doesExist(int statusCode, boolean shouldSucceed, String message) throws Exception {
		RemoteDataClient client = getClient(URI.create("http://httpbin:8000/status/" + statusCode));
		boolean result = client.doesExist("status/" + statusCode);
		Assert.assertEquals(result, shouldSucceed, message);
	}
protected void _doesExist ( int statusCode , boolean shouldSucceed , String message ) throws Exception { RemoteDataClient client = getClient ( URI . create ( "http://httpbin:8000/status/" + statusCode ) ) ; boolean result = client . doesExist ( "status/" + statusCode ) ; Assert . assertEquals ( result , shouldSucceed , message ) ; }
Handles execution of the {@link RemoteDataClient#doesExist(String)} method for success and failure tests
 @param statusCode the http code to simulate from the url request
 @param shouldSucceed whether the assertion should be a true or false response
 @param message message given to the assertion
 @throws Exception if remote path returns unexpected response code
Handles execution of the { @link RemoteDataClient#doesExist ( String ) } method for success and failure tests @param statusCode the http code to simulate from the url request @param shouldSucceed whether the assertion should be a true or false response @param message message given to the assertion @throws Exception if remote path returns unexpected response code