/** Tests for onUsed. */
  @Test
  public void testOnUsed() {
    final RingOfLife ring = new RingOfLife();
    assertThat(ring.isBroken(), is(false));
    assertThat(
        ring.describe(),
        is(
            "You see an §'emerald ring', known as the ring of life. Wear it, and you risk less from death."));

    ring.onUsed(null);
    assertThat(ring.isBroken(), is(false));
    assertThat(
        ring.describe(),
        is(
            "You see an §'emerald ring', known as the ring of life. Wear it, and you risk less from death."));
  }
  /** Tests for describe. */
  @Test
  public void testDescribe() {
    final RingOfLife ring = new RingOfLife();
    assertThat(ring.isBroken(), is(false));
    assertThat(
        ring.describe(),
        is(
            "You see an §'emerald ring', known as the ring of life. Wear it, and you risk less from death."));

    ring.damage();
    assertThat(ring.isBroken(), is(true));
    assertThat(
        ring.describe(),
        is(
            "You see an §'emerald ring', known as the ring of life. The gleam is lost from the stone and it has no powers."));
  }