@Test
public void testCollectAndSortFeatureTypesToExport_EmptyFeatureTypeList() {

    List<FeatureType> featureTypes = Collections.emptyList();
    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( 0 ) );
}