Assume.assumeNotNull(url);
url = url + "&" + JenaDriver.PARAM_PRE_PROCESSOR + "=" + Echo.class.getCanonicalName();
url = url + "&" + JenaDriver.PARAM_POST_PROCESSOR + "=" + ResultsEcho.class.getCanonicalName();
JenaDriver driver = this.getDriver();
JenaConnection conn = (JenaConnection) driver.connect(url, null);
Assert.assertFalse(conn.isClosed());
Iterator<CommandPreProcessor> iter = conn.getPreProcessors();
Assert.assertTrue(iter.hasNext());
Assert.assertTrue(iter.next() instanceof Echo);
Assert.assertFalse(iter.hasNext());
Iterator<ResultsPostProcessor> iter2 = conn.getPostProcessors();
Assert.assertTrue(iter2.hasNext());
Assert.assertTrue(iter2.next() instanceof ResultsEcho);
Assert.assertFalse(iter2.hasNext());
conn.close();
Assert.assertTrue(conn.isClosed());
}