@Test
public void testAboveBranches() throws Exception {

    List<OfficeBO> offices = new ArrayList<OfficeBO>();
    offices.add(makeOffice("Trinidad&Tobago", OfficeLevel.HEADOFFICE));
    offices.add(makeOffice("Ontario&Quebec", OfficeLevel.REGIONALOFFICE));
    offices.add(makeOffice("Alberta", OfficeLevel.REGIONALOFFICE));
    offices.add(makeOffice("Vancouver", OfficeLevel.SUBREGIONALOFFICE));
    offices.add(makeOffice("Toronto&Ottawa", OfficeLevel.SUBREGIONALOFFICE));
    offices.add(makeOffice("SoHo", OfficeLevel.AREAOFFICE));
    offices.add(makeOffice("Tribeca&Chelsea", OfficeLevel.AREAOFFICE));
    new OfficeListTag().getAboveBranches(result, offices, "Province <State>", "County <Duchy>", "Parish <City>");
    String html = result.toString();
    assertWellFormedFragment(html);
    StringAssert.assertContains("Toronto&amp;Ottawa", html);
}