public void testBulkCreateBatchSizeOK() throws Exception {
CRLIssuer issuer = new CRLIssuer();
issuer.setId("1111111111111111111111111111111111111111");
issuer.setName("CN=AC Secretaria da Receita Federal do Brasil, O=ICP-Brasil, C=BR");
UpdateLog item1 = new UpdateLog();
item1.setId("1111111111111111111111111111111111111111");
item1.setCrlIssuer(issuer);
item1.setUpdateStatus("S");
Calendar ts = Calendar.getInstance();
ts.set(Calendar.YEAR, 2012);
ts.set(Calendar.MONTH, Calendar.AUGUST);
ts.set(Calendar.DATE, 8);
ts.set(Calendar.HOUR_OF_DAY, 15);
ts.set(Calendar.MINUTE, 27);
ts.set(Calendar.SECOND, 10);
ts.set(Calendar.MILLISECOND, 0);
item1.setLastUpdateTimestamp(ts);
UpdateLog item2 = new UpdateLog();
item2.setId("2222222222222222222222222222222222222222");
item2.setCrlIssuer(issuer);
item2.setUpdateStatus("S");
Calendar ts2 = Calendar.getInstance();
ts2.set(Calendar.YEAR, 2012);
ts2.set(Calendar.MONTH, Calendar.AUGUST);
ts2.set(Calendar.DATE, 7);
ts2.set(Calendar.HOUR_OF_DAY, 10);
ts2.set(Calendar.MINUTE, 10);
ts2.set(Calendar.SECOND, 10);
ts2.set(Calendar.MILLISECOND, 0);
item2.setLastUpdateTimestamp(ts2);
UpdateLog item3 = new UpdateLog();
item3.setId("3333333333333333333333333333333333333333");
item3.setCrlIssuer(issuer);
item3.setUpdateStatus("S");
Calendar ts3 = Calendar.getInstance();
ts3.set(Calendar.YEAR, 2012);
ts3.set(Calendar.MONTH, Calendar.AUGUST);
ts3.set(Calendar.DATE, 7);
ts3.set(Calendar.HOUR_OF_DAY, 11);
ts3.set(Calendar.MINUTE, 10);
ts3.set(Calendar.SECOND, 10);
ts3.set(Calendar.MILLISECOND, 0);
item3.setLastUpdateTimestamp(ts3);
UpdateLog item4 = new UpdateLog();
item4.setId("4444444444444444444444444444444444444444");
item4.setCrlIssuer(issuer);
item4.setUpdateStatus("S");
Calendar ts4 = Calendar.getInstance();
ts4.set(Calendar.YEAR, 2012);
ts4.set(Calendar.MONTH, Calendar.AUGUST);
ts4.set(Calendar.DATE, 7);
ts4.set(Calendar.HOUR_OF_DAY, 12);
ts4.set(Calendar.MINUTE, 10);
ts4.set(Calendar.SECOND, 10);
ts4.set(Calendar.MILLISECOND, 0);
item4.setLastUpdateTimestamp(ts4);
UpdateLog item5 = new UpdateLog();
item5.setId("5555555555555555555555555555555555555555");
item5.setCrlIssuer(issuer);
item5.setUpdateStatus("S");
Calendar ts5 = Calendar.getInstance();
ts5.set(Calendar.YEAR, 2012);
ts5.set(Calendar.MONTH, Calendar.AUGUST);
ts5.set(Calendar.DATE, 7);
ts5.set(Calendar.HOUR_OF_DAY, 13);
ts5.set(Calendar.MINUTE, 10);
ts5.set(Calendar.SECOND, 10);
ts5.set(Calendar.MILLISECOND, 0);
item5.setLastUpdateTimestamp(ts5);
Set<UpdateLog> updates = new HashSet<UpdateLog>();
updates.add(item1);
updates.add(item2);
updates.add(item3);