{
String path = "net/sf/jportlet/descriptor/test/portlet.xml";
InputStream in = getClass( ).getClassLoader( ).getResourceAsStream( path );
ApplicationDescriptorLoaderXml loader = new ApplicationDescriptorLoaderXml( );
ApplicationDescriptor app = loader.load( in );
assertNotNull( "app", app );
assertEquals( "app.name", "Portlet Application", app.getName( ) );
assertEquals( "app.contextParameter[param1]", "value1", app.getContextParameter( "param1" ) );