Association extends RegistryObject { public String getAssociationType() { return adapter.getRequiredNodeAsString( adapter.getRootElement(), new XPath( "@associationType", ns ) ); } Association( XMLStreamReader xmlReader );  Association( OMElement record ); String getSourceObject(); String getTargetObject(); String getAssociationType();  }
@Test public void testGetAssociationTypeShouldBeParsedFromXml() { String actualAssociationType = association.getAssociationType(); assertEquals( "urn:x-ogc:specification:csw-ebrim:AssociationType:EO:AcquiredBy", actualAssociationType ); }