       expect(cli.taxRate[0].name[0]).toBe 'Mehrwertsteuer'
       expect(cli.taxRate[0].amount[0]).toBe '0.19'
       expect(cli.taxRate[0].country[0]).toBe 'DE'
+      done()
 
-  it 'taxedPrice', ->
+  it 'taxedPrice', (done) ->
     order =
       taxedPrice:
         totalNet:

Mapping = require '../lib/mapping'
config = require '../config'
{parseString} = require 'xml2js'

describe '#mapOrder', ->
  beforeEach ->
    @mapping = new Mapping config
  it 'simple', ->
    order =
      id: 'abc'
      version: 1

    parseString doc, (err, result) ->
      expect(result.order.shippingAddress).not.toBeUndefined()
      expect(result.order.shippingAddress[0].title[0]).toBe 'Prof. Dr.'
      done()

  it 'billingAddress', (done) ->
    order =
      billingAddress:
        pOBox: '123456789'
