public void testDisplayNameForOriginalAmendment() throws Exception { a0.setName(Amendment.INITIAL_TEMPLATE_AMENDMENT_NAME); assertEquals("Initial template", a0.getDisplayName()); }
public void testDisplayNameWithDateAndName() throws Exception { a3.setDate(DateTools.createDate(2005, Calendar.MARCH, 6)); assertEquals("03/06/2005 (A3)", a3.getDisplayName()); }