* @author Jerome Louvel
*/
public class WadlTestCase extends RestletTestCase {
public void testWadl() throws Exception {
WadlComponent comp = new WadlComponent(
"clap://class/org/restlet/test/ext/wadl/YahooSearch.wadl");
WadlApplication app = (WadlApplication) comp.getHosts().get(0)
.getRoutes().get(0).getNext();
assertNotNull(app);
assertEquals(app.getInboundRoot(), app.getRouter());
assertNotNull(app.getInboundRoot());
}