verify(out, never()).print("</td>");
verify(out, never()).print("</tr>");
}
@Test public void testEnumAttrs() {
Hamlet h = newHamlet().
meta_http("Content-type", "text/html; charset=utf-8").
title("test enum attrs").
link().$rel("stylesheet").
$media(EnumSet.of(Media.screen, Media.print)).
$type("text/css").$href("style.css")._().
link().$rel(EnumSet.of(LinkType.index, LinkType.start)).
$href("index.html")._();
h.div("#content")._("content")._();
PrintWriter out = h.getWriter();
out.flush();
assertEquals(0, h.nestLevel);
verify(out).print(" media=\"screen, print\"");
verify(out).print(" rel=\"start index\"");
}