@Test
public void testGetLink() throws Exception {

    OfficeListTag tag = new OfficeListTag("action", "method", "flow");
    XmlBuilder link = tag.getLink((short) 234, "My Office");
   Assert.assertEquals("<a href=\"action?method=method&amp;"
            + "office.officeId=234&amp;office.officeName=My+Office&amp;"
            + "officeId=234&amp;officeName=My+Office&amp;" + "currentFlowKey=flow\">My Office</a>", link
            .getOutput());
}