@Test
public void testGetSupportedOutputFormatsByFeatureType() throws IOException {

    createTestProtocol(GEOS_ARCHSITES.CAPABILITIES);
    Set<String> archSitesOutputFormats = wfs
            .getSupportedOutputFormats(GEOS_ARCHSITES.FEATURETYPENAME);
    assertNotNull(archSitesOutputFormats);
    assertEquals(8, archSitesOutputFormats.size());
    assertTrue(archSitesOutputFormats.contains("GML2"));
    assertTrue(archSitesOutputFormats.contains("text/xml; subtype=gml/2.1.2"));
    assertTrue(archSitesOutputFormats.contains("GML2-GZIP"));
    assertTrue(archSitesOutputFormats.contains("text/xml; subtype=gml/3.1.1"));
    assertTrue(archSitesOutputFormats.contains("gml3"));
    assertTrue(archSitesOutputFormats.contains("SHAPE-ZIP"));
    assertTrue(archSitesOutputFormats.contains("json"));
    assertTrue(archSitesOutputFormats.contains("text/gml; subtype=gml/3.1.1"));
}