def METHOD_NAME(self, get_shape_info_as_json_mock):
    get_shape_info_as_json_mock.return_value = GEOPREVIEW_RESPONSE
    context = {'model': model, 'session': model.Session, 'user': SYSADMIN_USER}
    resource_dict1, resource_dict2 = self._create_2_resources(context)
    assert get_shape_info_as_json_mock.call_count == 2
    r1_id = resource_dict1['id']
    r2_id = resource_dict2['id']
    try:
        data_dict = {
            'id': DATASET_NAME,
            "order": [r2_id, r1_id],
        }
        _get_action('package_resource_reorder')(context, data_dict)
        dataset_dict = _get_action('package_show')(context, {'id': DATASET_NAME})
        assert dataset_dict['resources'][0]['id'] == r2_id
        assert dataset_dict['resources'][1]['id'] == r1_id
    except ValidationError as e:
        assert False
    assert get_shape_info_as_json_mock.call_count == 2