SPARQLConnection extends AbstractRepositoryConnection implements HttpClientDependent { @Override public void setParserConfig(ParserConfig parserConfig) { client.setParserConfig(parserConfig); super.setParserConfig(parserConfig); } SPARQLConnection(SPARQLRepository repository, SPARQLProtocolSession client);  SPARQLConnection(SPARQLRepository repository, SPARQLProtocolSession client, boolean quadMode); @Override String toString(); void enableSilentMode(boolean flag); @Override void setParserConfig(ParserConfig parserConfig); @Override final HttpClient getHttpClient(); @Override void setHttpClient(HttpClient httpClient); @Override void close(); @Override void exportStatements(Resource subj, IRI pred, Value obj, boolean includeInferred, RDFHandler handler,
			Resource... contexts); @Override RepositoryResult<Resource> getContextIDs(); @Override String getNamespace(String prefix); @Override RepositoryResult<Namespace> getNamespaces(); @Override boolean isEmpty(); @Override long size(Resource... contexts); @Override RepositoryResult<Statement> getStatements(Resource subj, IRI pred, Value obj, boolean includeInferred,
			Resource... contexts); @Override boolean hasStatement(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts); @Override SPARQLRepository getRepository(); @Override Query prepareQuery(QueryLanguage ql, String query, String base); @Override BooleanQuery prepareBooleanQuery(QueryLanguage ql, String query, String base); @Override GraphQuery prepareGraphQuery(QueryLanguage ql, String query, String base); @Override TupleQuery prepareTupleQuery(QueryLanguage ql, String query, String base); @Override void commit(); @Override void rollback(); @Override void begin(); @Override void add(File file, String baseURI, RDFFormat dataFormat, Resource... contexts); @Override void add(URL url, String baseURI, RDFFormat dataFormat, Resource... contexts); @Override void add(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts); @Override void add(Reader reader, String baseURI, RDFFormat dataFormat, Resource... contexts); @Override void add(Statement st, Resource... contexts); @Override void add(Iterable<? extends Statement> statements, Resource... contexts); @Override void clear(Resource... contexts); @Override void clearNamespaces(); @Override void remove(Statement st, Resource... contexts); @Override void remove(Iterable<? extends Statement> statements, Resource... contexts); @Override void removeNamespace(String prefix); @Override void setNamespace(String prefix, String name); @Override Update prepareUpdate(QueryLanguage ql, String update, String baseURI); @Override boolean isActive();  }
@Test public void setParserConfigPassesToProtocolSession() throws Exception { ParserConfig config = new ParserConfig(); subject.setParserConfig(config); verify(client, times(1)).setParserConfig(config); }