/**
  * @group EricssonPreinvetoryInt
  */
 public function testDeleteList()
 {
     $fileName = __DIR__ . '/xml/StockTestingList.xml';
     $mimeType = new finfo(FILEINFO_MIME_TYPE);
     $data = $this->_service->getData($fileName, $mimeType->file($fileName));
     $this->assertEquals('sim', $data['_type']);
     $this->_service->createSim($data, $this->_user->getOrganizationId());
     $result = $this->_service->listAll(null, array(), null, $this->_user->getOrganization());
     $resultItems = $result->getItems();
     try {
         $this->_service->deleteList($resultItems);
     } catch (Exception $e) {
         $this->fail('An exception has been raised: ' . $e->getMessage());
     }
     $result = $this->_service->listAll(null, array(), null, $this->_user->getOrganization());
     $this->assertEmpty(0, $result->getItems());
 }