@Test
public void testWriteAnchor() throws Exception {

    tag.writeAnchor(tag.createTagWriter(),
            PaginationInfo.DEFAULT_DISABLED_HREF, "");
    String expected = "<a href=\"javascript:void(0)\"></a>";
    assertThat(getOutput(), is(expected));
}