System.out.println("\n\nAdd:");
List<Attribute> attrList = new ArrayList<Attribute>();
attrList.add(new Attribute("caption", "New Table"));
attrList.add(1, new Attribute("border", "2"));
attrList.add(2, new Attribute("bgcolor", "blue"));
assertEquals(true, attrs.addAll(0, attrList));
for (Attribute attr : attrs)
{
System.out.println("NAME: " + attr.getName() + " & " + "VALUE: " + attr.getValue());
}