public void CreateCarrierElementSetTest() { var log = new BdoLog(); var carrierElement1 = ElementFactory.CreateCarrier( "carrier1", "tests.core$testCarrier", BdoExtensionFactory.CreateCarrierConfiguration( "tests.core$testCarrier", ElementFactory.CreateScalar("path", _testData.path1))); var carrierElement2 = ElementFactory.CreateCarrier("carrier2", "tests.core$testCarrier") .WithConfiguration(ElementFactory.CreateSetFromObject <BdoCarrierConfiguration>(new { path = _testData.path2 })); var carrierElement3 = new CarrierFake(_testData.path3, _testData.folderPath3)?.AsElement(); var carrierElement4 = GlobalVariables.Scope.CreateCarrier( BdoExtensionFactory.CreateCarrierConfiguration("tests.core$testCarrier") .WithItems(ElementFactory.CreateSetFromObject(new { path = _testData.path4 })?.ToArray()), "carrier4", log)?.AsElement(); _carrierElementSet = ElementFactory.CreateSet( carrierElement1, carrierElement2, carrierElement3, carrierElement4); Test(_carrierElementSet); }