(err, code, errorName)
| 37 | }, postBody); |
| 38 | |
| 39 | function _checkError(err, code, errorName) { |
| 40 | assert(err, 'Expected error but found none'); |
| 41 | assert.strictEqual(err.code, code); |
| 42 | assert(err.is[errorName]); |
| 43 | } |
| 44 | |
| 45 | function _generateSampleXml(key, value) { |
| 46 | const xml = '<Tagging>' + |