MINOR: [Integration] Simplified code in tests
MINOR: [Integration] Simplified code in tests

Closes #12410 from jorgecarleitao/simpler

Authored-by: Jorge C. Leitao <dfffc62510208f06492f17a48dc6ce87aa15abf6@gmail.com>
Signed-off-by: Sutou Kouhei <73218711cdd5d5c30ac66da3cc4d9d9204caf34b@clear-code.com>

apache/arrow,wesm/arrow,wesm/arrow,wesm/arrow,wesm/arrow,icexelloss/arrow,icexelloss/arrow,apache/arrow,kou/arrow,kou/arrow,wesm/arrow,wesm/arrow,icexelloss/arrow,icexelloss/arrow,apache/arrow,kou/arrow,wesm/arrow,apache/arrow,kou/arrow,apache/arrow,wesm/arrow,wesm/arrow,icexelloss/arrow,kou/arrow,kou/arrow,apache/arrow,icexelloss/arrow,icexelloss/arrow,apache/arrow,wesm/arrow,icexelloss/arrow,kou/arrow,wesm/arrow,kou/arrow,kou/arrow,icexelloss/arrow,wesm/arrow,wesm/arrow,icexelloss/arrow,icexelloss/arrow,apache/arrow,kou/arrow,kou/arrow,wesm/arrow,apache/arrow,icexelloss/arrow,icexelloss/arrow,apache/arrow,apache/arrow,apache/arrow,kou/arrow,kou/arrow,apache/arrow,icexelloss/arrow,apache/arrow,kou/arrow