@Test(expected = OWSException.class)
public void testDoCreateStoredQuery_UnsupportedLanguage()
                        throws Exception {

    List<FeatureType> featureTypes = featureTypes();
    StoredQueryHandler storedQueryHandler = new StoredQueryHandler( mockWFS( featureTypes ), new ArrayList<URL>(),
                                                                    managedStoredQueries );
    String id = "mangedStoredQuery";
    CreateStoredQuery request = createStoredQuery( id, "http://qry.example.org" );
    ByteArrayOutputStream outStream = new ByteArrayOutputStream();
    XMLStreamWriter xmlStreamWriter = XMLOutputFactory.newInstance().createXMLStreamWriter( outStream );
    storedQueryHandler.doCreateStoredQuery( request, mockHttpResponseBuffer( xmlStreamWriter ) );
    xmlStreamWriter.close();
}