@Test
public void testCollectAndSortFeatureTypesToExport_AllFeatureTypes() {

    List<FeatureType> featureTypes = featureTypes();
    StoredQueryHandler storedQueryHandler = new StoredQueryHandler( mockWFS( featureTypes ), new ArrayList<URL>(),
                                                                    managedStoredQueries );
    List<QName> configuredFeatureTypeNames = Collections.emptyList();
    List<QName> featureTypeNamesToExport = storedQueryHandler.collectAndSortFeatureTypesToExport( configuredFeatureTypeNames );
    assertThat( featureTypeNamesToExport.size(), is( featureTypes.size() ) );
    for ( FeatureType featureType : featureTypes ) {
        assertThat( featureTypeNamesToExport, hasItems( featureType.getName() ) );
    }
}