@Test
 public void testPersonnelLinkWithSelfLink() throws Exception {
   branchOffice = TestObjectFactory.getOffice(TestObjectFactory.SAMPLE_BRANCH_OFFICE);
   createPersonnel(branchOffice, PersonnelLevel.LOAN_OFFICER);
   String createdLink = TagGenerator.createHeaderLinks(personnel, true, randomNum);
   Assert.assertEquals(true, createdLink.contains("PersonAction"));
   Assert.assertEquals(true, createdLink.contains("TestBranchOffice"));
 }
 @Test
 public void testTagGeneratorFactoryForPersonnel() throws Exception {
   branchOffice = TestObjectFactory.getOffice(TestObjectFactory.SAMPLE_BRANCH_OFFICE);
   createPersonnel(branchOffice, PersonnelLevel.LOAN_OFFICER);
   TagGenerator tagGenerator = TagGeneratorFactory.getInstance().getGenerator(personnel);
   tagGenerator = TagGeneratorFactory.getInstance().getGenerator(personnel);
   if (tagGenerator instanceof PersonnelTagGenerator) {
     Assert.assertTrue(true);
   }
 }