store.addAnnotationData("/*", new IconLiteral("default.gif"));
store.addAnnotationData("/sad/*", new IconLiteral("sad.gif"));
store.addAnnotationData("/happy/*", new IconLiteral("happy.gif"));
store.addAnnotationData("/happy/done.xhtml", new IconLiteral("finished.gif"));
Icon data;
data = store.getAnnotationData("/happy/done.xhtml", Icon.class);
Assert.assertEquals("finished.gif", data.value());
data = store.getAnnotationData("/happy/other.xhtml", Icon.class);
Assert.assertEquals("happy.gif", data.value());
data = store.getAnnotationData("/default/news.xhtml", Icon.class);
Assert.assertEquals("default.gif", data.value());
List<Icon> dlist;
dlist = store.getAllAnnotationData("/happy/done.xhtml", Icon.class);
Assert.assertEquals(3, dlist.size());
Assert.assertEquals("finished.gif", dlist.get(0).value());