### Question:
SaxElement { public Map<String, String> getAttributes() { return myAttributes; } SaxElement(String uri, String localName, String qName, Attributes attributes); String getUri(); String getLocalName(); String getQName(); Map<String, String> getAttributes(); @Override String toString();  }### Answer:
@Test public void testGetAttributes() { Map<String, String> attributes = myTestObject.getAttributes(); assertEquals(2, attributes.size()); assertEquals(attributes.get("zero"), "zero-value"); assertEquals(attributes.get("one"), "one-value"); }