try {
DataSource ds = new SHPDataSource(serverAddress.getHostName(), serverAddress.getPort());
Connection conn = ds.getConnection(NoCredentials.INSTANCE);
Command command = conn.createCommand("SELECT ?x ?y WHERE { this should be a real query but the test doesn't actually do anything real. }");
command.setTimeout(1234);
command.executeQuery();
// Kind of tricky here - the keys and values are now Avro Utf8 instances which don't compare equal to Strings
Map<CharSequence,CharSequence> serverProps = (Map<CharSequence,CharSequence>)results.get(0);
Assert.assertEquals(new Utf8("1234"), serverProps.get(new Utf8(QueryExecution.TIMEOUT)));