135136137138139140141142143144145
{ MarkupWriter w = new MarkupWriterImpl(); w.element("root"); w.attributes("foo", "bar", "gnip", "gnop"); assertEquals(w.toString(), "<root foo=\"bar\" gnip=\"gnop\"></root>"); } @Test
203204205206207208209210211212
map.store(e, link); replay(); writer.attributes("action", link); verify(); } }