URLInformation { public String getArea() { if (this.area == null) { String completeArea = getCompleteArea(); if (Publication.DAV_AREA.equals(completeArea)) { this.area = Publication.AUTHORING_AREA; } else { this.area = completeArea; } } return this.area; } URLInformation(); String getWebappUrl(); String getPublicationId(); String getArea(); String getCompleteArea(); String getDocumentUrl();  }
@Test public void getAreaTest(){ URLInformation urli = new URLInformation(); String area = urli.getArea(); assertEquals(area, "authoring"); }