testObjects.put("productIdOrSkusRef", productIdsFormatted);
// Get the inventory
MessageProcessor flow = lookupFlowConstruct("list-inventory-stock-items");
MuleEvent response = flow.process(getTestEvent(testObjects));
// Get the response and perform the assertions
List<CatalogInventoryStockItemEntity> stockItems = (List<CatalogInventoryStockItemEntity>) response.getMessage().getPayload();
assertNotNull(stockItems);
assertTrue(productIds.size() == stockItems.size());