    @Test
    public void testClick() {

        Component component = TextParsers.XML.parse("<hover action=\"show_text\" value=\"bar\">foo</hover>");
        TextComponent expected = TextComponent.of("").append(TextComponent.of("foo")
            .hoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, TextComponent.of("bar"))));
        Assert.assertEquals(expected, component);
    }