@Test
public void testRelease01() throws Exception {

    tag.release();
    assertThat(ReflectionTestUtils.getField(tag, "page"), is(nullValue()));
    assertThat(ReflectionTestUtils.getField(tag, "pathTmpl"), is(
            nullValue()));
    assertThat(ReflectionTestUtils.getField(tag, "queryTmpl"), is(
            nullValue()));
    assertThat(ReflectionTestUtils.getField(tag, "criteriaQuery"), is(
            nullValue()));
    assertThat((boolean) ReflectionTestUtils.getField(tag,
            "disableHtmlEscapeOfCriteriaQuery"), is(false));
    assertThat((boolean) ReflectionTestUtils.getField(tag,
            "enableLinkOfCurrentPage"), is(false));
    assertThat(ReflectionTestUtils.getField(tag, "outerElement"), is(
            nullValue()));
    assertThat(ReflectionTestUtils.getField(tag, "outerElementClass"), is(
            nullValue()));
    assertThat(ReflectionTestUtils.getField(tag, "innerElement"), is(
            nullValue()));
    assertThat(ReflectionTestUtils.getField(tag, "innerElementClass"), is(
            nullValue()));
    assertThat(ReflectionTestUtils.getField(tag, "firstLinkText"), is(
            nullValue()));
    assertThat(ReflectionTestUtils.getField(tag, "previousLinkText"), is(
            nullValue()));
    assertThat(ReflectionTestUtils.getField(tag, "nextLinkText"), is(
            nullValue()));
    assertThat(ReflectionTestUtils.getField(tag, "lastLinkText"), is(
            nullValue()));
    assertThat(ReflectionTestUtils.getField(tag, "disabledHref"), is(
            nullValue()));
    assertThat(ReflectionTestUtils.getField(tag, "activeClass"), is(
            nullValue()));
    assertThat(ReflectionTestUtils.getField(tag, "disabledClass"), is(
            nullValue()));
}