@Test
 public void testHasMutipleGlobalUpdateCounts() {
   statementHandler.prepareGlobalUpdateCount(4);
   assertFalse(statementHandler.hasMultipleGlobalUpdateCounts());
   statementHandler.prepareGlobalUpdateCounts(new int[] {1});
   assertTrue(statementHandler.hasMultipleGlobalUpdateCounts());
   statementHandler.prepareGlobalUpdateCounts(new int[] {7, 8});
   assertTrue(statementHandler.hasMultipleGlobalUpdateCounts());
 }
 @Test
 public void testGetGlobalUpdateCount() {
   int[] updateCounts = new int[] {1, 2};
   statementHandler.prepareGlobalUpdateCount(4);
   assertEquals(4, statementHandler.getGlobalUpdateCount());
   int[] returnedUpdateCounts = statementHandler.getGlobalUpdateCounts();
   assertEquals(1, returnedUpdateCounts.length);
   assertEquals(4, returnedUpdateCounts[0]);
   statementHandler.prepareGlobalUpdateCounts(updateCounts);
   assertEquals(1, statementHandler.getGlobalUpdateCount());
   returnedUpdateCounts = statementHandler.getGlobalUpdateCounts();
   assertNotSame(updateCounts, returnedUpdateCounts);
   assertEquals(2, returnedUpdateCounts.length);
   assertEquals(1, returnedUpdateCounts[0]);
   assertEquals(2, returnedUpdateCounts[1]);
 }