           created: 1
           updated: 1
           failed: 0
+          productTypeUpdated: 0
           errorDir: path.join(__dirname,'../errors')
         done()
       .catch done

          prices: []
        ],
        version: 1

      spyOn(@import, "_prepareNewProduct").andCallFake (prepareProduct) -> Promise.resolve(prepareProduct)
      spyOn(@import, "_prepareUpdateProduct").andCallFake (prepareProduct) -> Promise.resolve(prepareProduct)


  beforeEach ->

    @logger = new ExtendedLogger
      additionalFields:
        project_key: 'productImporterTests'
      logConfig:
        name: "#{package_json.name}-#{package_json.version}"
        streams: [
          { level: 'info', stream: process.stdout }
        ]

    errorDir = path.join(__dirname, '../errors')

    Config =
      clientConfig: ClientConfig
      errorDir: errorDir
      errorLimit: 0
      ensureEnums: true
      blackList: ['prices']

    @import = new ProductImport @logger, Config

  it 'should initialize', ->
    expect(@import).toBeDefined()
