@Test public void testGetAttributeByName() { try { assertEquals("dts_iid", applicationElement.getAttributeByName("dts_iid").getName()); } catch (AoException e) { fail(e.reason); } try { applicationElement.getAttributeByName("non_existing_attribute"); fail("AoException expected"); } catch (AoException e) { } }