public ServiceFuture<TestAllRoutesResultInner> testAllRoutesAsync(String iotHubName, String resourceGroupName, TestAllRoutesInput input, final ServiceCallback<TestAllRoutesResultInner> serviceCallback) {
        return ServiceFuture.fromResponse(testAllRoutesWithServiceResponseAsync(iotHubName, resourceGroupName, input), serviceCallback);
    }
public ServiceFuture < TestAllRoutesResultInner > testAllRoutesAsync ( String iotHubName , String resourceGroupName , TestAllRoutesInput input , final ServiceCallback < TestAllRoutesResultInner > serviceCallback ) { return ServiceFuture . fromResponse ( testAllRoutesWithServiceResponseAsync ( iotHubName , resourceGroupName , input ) , serviceCallback ) ; }
Test all routes.
Test all routes configured in this Iot Hub.

@param iotHubName IotHub to be tested
@param resourceGroupName resource group which Iot Hub belongs to
@param input Input for testing all routes
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object