when(statement.getUpdateCount()).thenReturn(updateCount);
Object nextResult = iterator.next();
assertThat(nextResult, is(instanceOf(UpdateCountResult.class)));
UpdateCountResult updateCountResult = (UpdateCountResult) nextResult;
assertThat(updateCountResult.getName(), equalTo("updateCount1"));
assertThat((Integer) updateCountResult.getResult(), equalTo(updateCount));
}