@Test
public void testCollectAndSortFeatureTypesToExport_LimitedConfiguredFeatureTypes() {

    List<FeatureType> featureTypes = featureTypes();
    StoredQueryHandler storedQueryHandler = new StoredQueryHandler( mockWFS( featureTypes ), new ArrayList<URL>(),
                                                                    managedStoredQueries );
    List<QName> configuredFeatureTypeNames = configuredFeatureTypeNames();
    List<QName> featureTypeNamesToExport = storedQueryHandler.collectAndSortFeatureTypesToExport( configuredFeatureTypeNames );
    assertThat( featureTypeNamesToExport.size(), is( 1 ) );
    QName featureTypeNameToExport = featureTypeNamesToExport.get( 0 );
    assertThat( featureTypeNameToExport.getLocalPart(), is( "one" ) );
    assertThat( featureTypeNameToExport.getNamespaceURI(), is( "" ) );
    assertThat( featureTypeNameToExport.getPrefix(), is( "" ) );
}