Class EntityXMLImportTestReference


  • public class EntityXMLImportTestReference
    extends XMLBaseTest
    Test import of data for a business object (in this case Warehouse and its referenced information. A warehouse refers to a Location, the export exports both the warehouses as their locations. Then the tests check that both are inserted and then when the warehouses are reimported that the locations previously imported are re-used. Note that this test also tests the use of the ReferenceDataStore which is used to map id's used in the xml to the eventual id of the imported object in the database.
    Author:
    mtaal