public int getBatchSizeInt( VariableSpace vars ) {
    return Const.toInt( vars.environmentSubstitute( this.batchSize ), DEFAULT_BATCH_SIZE );
  }
@Test
  public void testGetBatchSizeInt() {
    ElasticSearchBulkMeta esbm = new ElasticSearchBulkMeta();
    int batchSize = esbm.getBatchSizeInt( new VariableSpaceImpl() );
    assertEquals( batchSize, ElasticSearchBulkMeta.DEFAULT_BATCH_SIZE );
  }