itemComp.maxStackSize = (byte) stackSize;
itemComp.stackId = stackId;
EntityRef item = Mockito.mock(EntityRef.class);
Mockito.when(item.exists()).thenReturn(true);
Mockito.when(item.getComponent(ItemComponent.class)).thenReturn(itemComp);
Mockito.when(item.iterateComponents()).thenReturn(new LinkedList<Component>());
return item;
}
@Test
public void testMoveItemToSlotsWithSplittingToMultipleStacks() {