@Test
public void testGetDescribeFeatureTypeURLGet() throws IOException {

    createTestProtocol(GEOS_ARCHSITES.CAPABILITIES);
    try {
        wfs.getDescribeFeatureTypeURLGet("nonExistentTypeName");
        fail("Expected IAE");
    } catch (IllegalArgumentException e) {
        assertTrue(true);
    }
    URL url;
    url = wfs.getDescribeFeatureTypeURLGet(GEOS_ARCHSITES.FEATURETYPENAME);
    assertNotNull(url);
    String externalForm = url.toExternalForm();
    externalForm = URLDecoder.decode(externalForm, "UTF-8");
    assertTrue(externalForm.startsWith("http://localhost:8080/geoserver/wfs?"));
    assertTrue(externalForm.contains("REQUEST=DescribeFeatureType"));
    assertTrue(externalForm.contains("TYPENAME=sf:archsites"));
    assertTrue(externalForm.contains("VERSION=1.1.0"));
    assertTrue(externalForm.contains("SERVICE=WFS"));
    assertTrue(externalForm.contains("NAMESPACE=xmlns(sf=http://www.openplans.org/spearfish)"));
    // assertTrue(externalForm.contains("OUTPUTFORMAT=text/xml; subtype=gml/3.1.1"));
}