*/
@Test
public void testDropItem() {
final Player player = PlayerTestHelper.createPlayer("bob");
StendhalRPZone localzone = new StendhalRPZone("testzone", 20, 20);
Item item = SingletonRepository.getEntityManager().getItem("cheese");
player.equip("bag", item);
assertTrue(player.isEquipped("cheese"));
localzone.add(player);
final RPAction drop = new RPAction();
drop.put("type", "drop");
drop.put("baseobject", player.getID().getObjectID());
drop.put("baseslot", "bag");
drop.put("x", player.getX());
drop.put("y", player.getY() + 1);
drop.put("quantity", "1");
drop.put("baseitem", item.getID().getObjectID());
final EquipmentAction action = new DropAction();
assertEquals(0, localzone.getItemsOnGround().size());
assertTrue(drop.has(EquipActionConsts.BASE_ITEM));