private void _test(final String response, final Boolean globalDisable, final Boolean clientDisable) throws Exception {
final ClientConfig config = new ClientConfig();
config.register(Filter.class);
if (globalDisable != null) {
config.property(CommonProperties.JSON_PROCESSING_FEATURE_DISABLE, globalDisable);
}
if (clientDisable != null) {
config.property(ClientProperties.JSON_PROCESSING_FEATURE_DISABLE, clientDisable);
}