@Test
public void parseMultiSolid()
                        throws XMLStreamException, FactoryConfigurationError, IOException, XMLParsingException,
                        UnknownCRSException {

    GMLStreamReader gmlReader = getParser( "MultiSolid.gml" );
    XMLStreamReader xmlReader = gmlReader.getXMLReader();
    Assert.assertEquals( XMLStreamConstants.START_ELEMENT, xmlReader.getEventType() );
    Assert.assertEquals( new QName( "http://www.opengis.net/gml", "MultiSolid" ), xmlReader.getName() );
    MultiSolid aggregate = (MultiSolid) gmlReader.readGeometry();
    Assert.assertEquals( XMLStreamConstants.END_ELEMENT, xmlReader.getEventType() );
    Assert.assertEquals( new QName( "http://www.opengis.net/gml", "MultiSolid" ), xmlReader.getName() );
    Assert.assertEquals( 2, aggregate.size() );
    Assert.assertEquals( SolidType.Solid, aggregate.get( 0 ).getSolidType() );
    Assert.assertEquals( SolidType.CompositeSolid, aggregate.get( 1 ).getSolidType() );
}