final int oldXP = player.getXP();
en.step(player, "emerald");
assertEquals("I'm pleased to say, your ring of life is fixed! It's good as new now.", getReply(npc));
assertEquals("player earns 500 experience points.", oldXP + 500, player.getXP());
final Item ring = player.getFirstEquipped("emerald ring");
assertTrue(ring.isBound());
assertTrue(player.isBoundTo(ring));
assertEquals("You see an emerald ring, known as ring of life. Wear it, and you risk less from death.", ring.getDescription());
assertEquals("You see an emerald ring, known as the ring of life. Wear it, and you risk less from death. It is a special quest reward for player, and cannot be used by others.", ring.describe());
assertThat(en.getCurrentState(), is(ConversationStates.ATTENDING));
assertTrue(player.isQuestCompleted(QUEST_SLOT));
en.step(player, "bye");
assertEquals("Bye, my friend.", getReply(npc));
}