public void setUpdateCount(int updateCount) {
   nextResults = MockDtxnConnection.makeAffectedRows(updateCount, 0);
 }
 public void setEmptyResults() {
   nextResults = MockDtxnConnection.makeEmptyResult();
 }
 public void setError(int errorCode, String errorMessage) {
   nextResults = MockDtxnConnection.makeError(errorCode, errorMessage);
 }