@Test
public void testFire() {
PlayerLootedNumberOfItemsCondition condition = new PlayerLootedNumberOfItemsCondition(5, "axe");
Player player = PlayerTestHelper.createPlayer("looter");
assertThat(condition.fire(player, null, null), is(false));
player.incLootForItem("dagger", 12);
assertThat(condition.fire(player, null, null), is(false));
player.incLootForItem("axe", 4);
assertThat(condition.fire(player, null, null), is(false));
player.incLootForItem("axe", 2);
assertThat(condition.fire(player, null, null), is(true));