*/
@Test
public void productInventory() throws Exception
{
Integer productId = null;
CatalogProductCreateEntity entity = new CatalogProductCreateEntity();
CatalogInventoryStockItemUpdateEntity stock = new CatalogInventoryStockItemUpdateEntity();
stock.setQty("10");
stock.setIs_in_stock(1);
entity.setStock_data(stock);
productId = connector.createProduct("simple", 4, "X8960", entity, null, null);
try
{
List<CatalogInventoryStockItemEntity> stockItems = connector.listStockItems(Arrays.asList("X8960"));
assertEquals(1, stockItems.size());