public void testExceptionOnQuery() {
DummyQueryResponder queryResponder = new DummyQueryResponder(20) {
private ErrorResponse err() {
ErrorResponse resp = new ErrorResponse();
resp.code = ReasonCode.Error;
resp.serverException = new ServerException();
resp.serverException.message = "foo";
return resp;
}
@Override
public QueryResponse query(QueryRequest query)